IMapArrow.Shape

Syntax

Shape: MapArrowShape;

Description

The Shape property determines arrow type. An ordinary line arrow is used by default.

Example

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

Add links to the Map, Report, Tab system assemblies.

Sub Arrow;
Var
    Sheets: IPrxSheets;
    SheetT : IPrxTable;
    Map: IMap;
    Layer: IMapLayer;
    Arrows: IMapLayerArrows;
    Arrow: IMapArrow;
Begin
    Sheets := PrxReport.ActiveReport.Sheets;
    SheetT := Sheets.Item(0As  IPrxTable;
    Map := SheetT.TabSheet.Objects.Item(0).Extension As IMap;
    Layer := Map.Layers.FindByName("Regions");
    Arrows := Layer.Arrows;
    Arrows.CreateByIDs(9846);
    Arrow := Arrows.Item(0);
    Arrow.Shape := MapArrowShape.Tailed;
    Map.Refresh;
End Sub Arrow;

After executing the example the arrow of the specified type is created:

See also:

IMapArrow