The
Height property is used to get and change the height:
- of a control or block in a report.
You can also get the height of a cell in a Table control.
Remarks:
- The border of the control or block is included in its height. The HeightInPixel property is used to get the height of a control in pixels.
- The height of a control is defined in the editor, in the control description.
// Increases the height of "EDT_CustomerName"
EDT_CustomerName.Height = EDT_CustomerName.Height + 15
// Is equivalent to: EDT_CustomerName.Height += 15
Syntax
Finding out the height of an element Hide the details
<Result> = <Element used>.Height
<Result>: Real
Height of the specified element. This height is expressed in pixels in a window and/or in a page, and in millimeters in a report.
<Element used>: Name of control or block.
Name of the element (control or block) to use.
Modifying the height of an element Hide the details
<Element used>.Height = <New height>
<Element used>: Name of control or block.
Name of the element (control or block) to use.
<New height>: Real
New height of the specified element. This height is expressed in pixels in a window and/or in a page, and in millimeters in a report.