IMapArrow.Color

Syntax

Color: IGxColor;

Description

The Color property determines arrow color.

NOTE. The property is outdated, use the IMapArrow.Pen property instead.

Example

The module is connected to the regular report, which sheet contains the map.

Sub Arrow;

Var

Map : IMap;

Arrow : IMapArrow;

Begin

Map := PrxReport.ActiveReport.ActiveSheet.Table.Objects.Item(0).Extension As IMap;

Arrow := Map.Layers.FindByName("Regions").Arrows.CreateByIDs(98,46);

Arrow.Color := GxColor.FromName("Red");

Arrow.Angle := 30;

Map.Refresh;

End Sub Arrow;

After executing the example the arrow with the specified color and bend is created:

See also:

IMapArrow