IPrxMapScales.FindById

Syntax

FindById(Id: String): IPrxMapScale;

Parameters

Id - scale identifier.

Description

The FindById method searches for and returns an object containing a regular report scale.

Example

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:

IPrxMapScales