Show contents 

Home > Foresight Analytics Platform > Web Application and Desktop Application > Application Development and Functionality Enhancement > Developing in Development Environment > Description of System Assemblies > Report > Report Assembly Interfaces > IPrxMapScale > IPrxMapScale.MapScale

IPrxMapScale.MapScale

Syntax

MapScale: IMapScale;

Description

The MapScale property returns an object containing a map scale.

Example

Sub UserProc;
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 UserProc;

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