SectionName(SectionIndex: Integer): String;
SectionIndex. Section index.
The SectionName property returns the section name, which index is passed by the SectionIndex parameter.
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: