IGxDocument.RangeName

Syntax

RangeName(RangeIndex: Integer): String;

Parameters

RangeIndex. Index of the print range.

Description

The RangeName property returns the name of the print range, which index is passed by the RangeIndex parameter.

Example

Sub Main;

Var

MB: IMetabase;

Docum: IGxDocument;

s: String;

Begin

MB:=MetabaseClass.Active;

Docum:=MB.ItemById("Report").Bind As IGxDocument;

S:=Docum.RangeName(0);

End Sub Main;

 

After executing the example the "s" variable contains the name of the first print range.

See also:

IGxDocument