property is used to get the width in pixels of a control in a report.
: The border of the control is included in its width. The Width
property is used to get and change the width of a control in millimeters.
// Get the width of the "ITEM_CustomerName" control
ResWidth = ITEM_CustomerName.WidthInPixel
<Result> = <Control used>.WidthInPixel
Width (in pixels) of the specified control.
<Control used>: Control name
Name of the control (from a report) to be manipulated.
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.