RangeName(RangeIndex: Integer): String;
RangeIndex. Index of the print range.
The RangeName property returns the name of the print range, which index is passed by the RangeIndex parameter.
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: