The
HeightInPixel property is used to get the height in pixels of a control in a report.
Remark: The border of the control is included in its height. The
Height property is used to get and change the height of a control in millimeters.
// Find out the height of "ITEM_CustomerName"
ResHeight = ITEM_CustomerName.HeightInPixel
Syntax
<Result> = <Control used>.HeightInPixel
<Result>: Real
Height (in pixels) of the specified control.
<Control used>: Control name
Name of report control to use.
Remarks
Height
A control must be entirely contained in the block to which it belongs.
Limits
The HeightInPixel property cannot be used on:
- an entire report,
- a report block,
- a group of controls,
- a Check Box control,
- an edit control,
- an Organizer control,
- a Scheduler control,
- a Gantt Chart control,
- a Signature control.