IPrxMapScales.Item

Syntax

Item(Index: Integer): IPrxMapScale;

Parameters

Index - regular report scale index.

Description

The Item property 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.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:

IPrxMapScales