Show contents 

Report > Report Assembly Interfaces > IPrxMapScale > IPrxMapScale.Id

IPrxMapScale.Id

Syntax

Id: String;

Description

The Id property determines an identifier of a regular report scale.

Example

Sub UserProc;
Var
    MB: IMetabase;
    Report: IPrxReport;
    MapScales: IPrxMapScales;
    MapScale: IPrxMapScale;
    s: String;
Begin
    MB := MetabaseClass.Active;
    Report := MB.ItemById("Report").Bind As IPrxReport;
    MapScales := Report.Scales;
    MapScale := MapScales.Item(0);
    s := MapScale.Id;
End Sub UserProc;

After executing the example the "s" variable contains identifier of the first scale of the regular report. The identifier of the regular report - Report.

See also:

IPrxMapScale