IGxDocument.RangeCount

Syntax

RangeCount: Integer;

Description

The RangeCount property returns the number of print ranges.

Comments

The entire document, the current page or the selected range is understood by the print range.

Example

Sub Main;

Var

MB: IMetabase;

Docum: IGxDocument;

i: Integer;

Begin

MB:=MetabaseClass.Active;

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

i:=Docum.RangeCount;

End Sub Main;

After executing the example the "i" variable contains the number of object print ranges with the Report identifier.

See also:

IGxDocument