IPrxTableIslandLayoutRow.Layout

Syntax

Layout : IPrxTableIslandLayout;

Description

The Layout property returns structure of the layout, to which the row belongs.

Example

Sub Main;

Var

MB: IMetabase;

MObj : IMetabaseObject;

Report : IPrxReport;

TabIs : IPrxTableIslands;

TI : IPrxTableIsland;

Layout : IPrxTableIslandLayout;

Row : IPrxTableIslandLayoutRow;

Count : Integer;

Begin

MB := MetabaseClass.Active;

MObj := MB.ItemById("Report").Bind;

Report := MObj As IPrxReport;

TabIs := Report.TableIslands;

TI := TabIs.Item(0);

Layout := TI.Layout;

Row := Layout.Rows(0);

Count := Row.Layout.Count;

Debug.WriteLine(Count);

End Sub Main;

After executing the example the console window displays the number of rows in the layout. Report - identifier of a regular report.

See also:

IPrxTableIslandLayoutRow