Height: Double;
The Height property determines layout row height. If row height is determined, set the HasHeight property to True.
Sub Main;
Var
MB: IMetabase;
MObj : IMetabaseObject;
Report : IPrxReport;
TabIs : IPrxTableIslands;
TI : IPrxTableIsland;
Layout : IPrxTableIslandLayout;
Row : IPrxTableIslandLayoutRow;
Cell : IPrxTableIslandLayoutCell;
SourceFields : IDalCursorFields;
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;
Row := Layout.Rows(0);
Row.HasHeight := True;
Row.Height := 15;
TI.Save;
MObj.Save;
End Sub Main;
After executing the example the layout row height is changed. Report - identifier of a regular report.
See also: