IPrxReport.Scales

Syntax

Scales: IPrxMapScales;

Description

The Scales property returns the object that contains all scales of the regular report.

Example

Sub Main;
Var
    MB: IMetabase;
    Report: IPrxReport;
    Scales: IPrxMapScales;
    i: Integer;
Begin
    MB := MetabaseClass.Active;
    Report := MB.ItemById("Report").Bind As IPrxReport;
    Scales := Report.Scales;
    i := Scales.Count;
End Sub Main;

After executing the example the "i" variable contains the number of the scales of the regular report with the Report identifier.

See also:

IPrxReport