IMapArrow.OriginID

Syntax

OriginID: Integer;

Description

The OriginID property determines the identifier of the territory being the arrow origin.

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.Item(1);

PrxReport.ActiveReport.ActiveSheet.Table.CellValue(1,1) := Arrow.OriginID;

End Sub Arrow;

After executing the example the identifier of the region being the arrow origin is recorded to the corresponding sheet cell.

See also:

IMapArrow