Id: String;
The Id property determines an identifier of a regular report scale.
Sub Main;
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 Main;
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: