HasHeight: Boolean;
The HasHeight property determines whether custom height of layout row is used.
If the property is set to True, custom height of the row is used; if the property is set to False, it is not used.
The property is set to False by default.
If the property is set to True, determine the Height property.
Sub UserProc;
Var
MB: IMetabase;
MObj: IMetabaseObject;
Report: IPrxReport;
TabIs: IPrxTableIslands;
TI: IPrxTableIsland;
Layout: IPrxTableIslandLayout;
Row: IPrxTableIslandLayoutRow;
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 UserProc;
After executing the example the layout row height is changed. Report - identifier of a regular report.
See also: