IGxDocument.SectionCount

Syntax

SectionCount: Integer;

Description

The SectionCount property returns the number of document sections.

Example

Sub Main;

Var

MB: IMetabase;

Docum: IGxDocument;

i: Integer;

Begin

MB:=MetabaseClass.Active;

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

i:=Docum.SectionCount;

End Sub Main;

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

See also:

IGxDocument