IGxDocument.SectionName

Syntax

SectionName(SectionIndex: Integer): String;

Parameters

SectionIndex. Section index.

Description

The SectionName property returns the section name, which index is passed by the SectionIndex parameter.

Example

Sub Main;

Var

MB: IMetabase;

Docum: IGxDocument;

s: String;

Begin

MB:=MetabaseClass.Active;

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

s:=Docum.SectionName(0);

End Sub Main;

After executing the example the "s" variable contains the name of the object first section with the Report identifier.

See also:

IGxDocument