property is used to get the height in pixels of a control in a report.
: 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
<Result> = <Control used>.HeightInPixel
Height (in pixels) of the specified control.
<Control used>: Control name
Name of report control to use.
A control must be entirely contained in the block to which it belongs.
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.