IPrxTableIslandLayoutCell.Row

Syntax

Row : IPrxTableIslandLayoutRow;

Description

The Row property returns the layout row, to which the cell belongs.

Example

Sub UserProc;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Report: IPrxReport;
    TabIs: IPrxTableIslands;
    TI: IPrxTableIsland;
    Layout: IPrxTableIslandLayout;
    Row: IPrxTableIslandLayoutRow;
    Cell: IPrxTableIslandLayoutCell;
Begin
    MB := MetabaseClass.Active;
    MObj := MB.ItemById("REPORT").Edit;
    Report := MObj As IPrxReport;
    TabIs := Report.TableIslands;
    TI := TabIs.Item(0);
    TI := TI.Edit;
    Layout := TI.Layout;
    Cell := Layout.Rows(0).Cells(1);
    Cell.RowSpan := 2;
    Row := Cell.Row;
    Row.HasHeight := True;
    Row.Height := 15;
    TI.Save;
    MObj.Save;
End Sub UserProc;

After executing the example the layout row height is changed, and the selected number of layout cells located in the same column is merged. Report - identifier of the regular report, which sheet contains a relational data area.

See also:

IPrxTableIslandLayoutCell