IPrxMapScales.Clear

Syntax

Clear;

Description

The Clear method deletes all regular report scales.

Example

Sub Main;

Var

MB: IMetabase;

MObj: IMetabaseObject;

Report: IPrxReport;

MapScales: IPrxMapScales;

Begin

MB := MetabaseClass.Active;

MObj := MB.ItemById("Report").Edit;

Report := MObj As IPrxReport;

MapScales := Report.Scales;

MapScales.Clear;

MObj.Save;

End Sub Main;

After executing the example all regular report scales are deleted. The identifier of the regular report - Report.

See also:

IPrxMapScales