DestID: Integer;
The DestID property determines the identifier of the territory that is the arrow end point.
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.DestID;
End Sub Arrow;
After executing the example the identifier of the region being the arrow end point is recorded to the corresponding sheet cell.
See also: