IPrxMapScale.MapScale

Syntax

MapScale: IMapScale;

Description

The MapScale property returns an object containing a map scale.

Example

Sub Main;

Var

MB: IMetabase;

Report: IPrxReport;

MapScales: IPrxMapScales;

MapScale: IPrxMapScale;

Map: IMapScale;

i: Integer;

Begin

MB := MetabaseClass.Active;

Report := MB.ItemById("Report").Bind As IPrxReport;

MapScales := Report.Scales;

MapScale := MapScales.Item(0);

Map := MapScale.MapScale;

i := Map.Count;

End Sub Main;

After executing the example the "i" variable contains the number of values in the first scale of the regular report. The identifier of the regular report - Report.

See also:

IPrxMapScale