BeginColor: IGxColor;
The BeginColor property determines starting color of the intervals of the express report map.
Sub Main;
Var
MB: IMetabase;
MObj: IMetabaseObject;
Expr: IEaxAnalyzer;
EMap: IEaxMap;
Begin
MB:=MetabaseClass.Active;
MObj:=MB.ItemById("EXPRESS_REPORT").Edit;
Expr:=MObj As IEaxAnalyzer;
EMap:=Expr.Map;
EMap.BeginColor:=GxColor.FromName("Blue");
EMap.EndColor:=GxColor.FromName("Red");
MObj.Save;
End Sub Main;
After executing the example starting color of map intervals is set to blue, and the end color is set to red. Express report identifier - EXPRESS_REPORT.
See also: