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