FindById(Id: String): IPrxMapScale;
Id - scale identifier.
The FindById method searches for and returns an object containing 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.FindById("Item3");
s := MapScale.Id;
End Sub Main;
After executing the example the variable contains the regular report scale with the Item3 identifier. The identifier of the regular report - Report.
See also: