IMapLayerArrows.Clear

Syntax

Clear;

Description

The Clear method clears an arrows collection.

Example

Executing the example requires a regular report with the REPORT identifier with a map on the report sheet.

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

Sub UserProc;
Var
    Metabase: IMetabase;
    MetabaseObject: IMetabaseObject;
    Report: IPrxReport;
    Sheets: IPrxSheets;
    SheetT: IPrxTable; 
    Map: IMap;
Begin
    Metabase := MetabaseClass.Active;
    MetabaseObject := Metabase.ItemById("REPORT").Edit;
    Report := MetabaseObject As IPrxReport;
    Sheets := Report.Sheets;
    SheetT := Sheets.Item(0As  IPrxTable;
    Map := SheetT.TabSheet.Objects.Item(0).Extension As IMap;
    Map.Layers.FindByName("Regions").Arrows.Clear;
    Report.MetabaseObject.Save;
End Sub UserProc;

After executing the example the collection of map arrows is cleared.

See also:

IMapLayerArrows