IMapArrow.OriginName

Syntax

OriginName: String;

Description

The OriginName property determines the name 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.OriginName;

End Sub Arrow;

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

See also:

IMapArrow