Applies to
Visible controls, windows, PDFVisibleContent, PDFImage, PDFImportContent, PDFMultilineText, PDFRichText, PDFSharedText, PDFText
Description
The Height property specifies the height of a control or window.
Datatype
Long in PowerBuilder units (the maximum value is 32,765) for visible controls and windows.
Double in point (pt) for PDFVisibleContent, PDFImage, PDFImportContent, PDFMultilineText, PDFRichText, PDFSharedText, PDFText
Usage
In a painter (when available)
To set the height of a control or window
-
Enter the desired height in the Height edit box on the Other tab page of the object's Properties view, or select the control or window and resize it with your cursor.
In scripts
In visible controls or windows, the Height property takes an integer value specifying the height of an object in PowerBuilder units. The following example sets the height of a DataWindow control dw_1:
dw_1.Height = 750
It is illegal to resize a minimized or maximized sheet or frame. Changing the Width or Height property for a minimized or maximized window is not supported.
In PDFVisibleContent, PDFImage, PDFImportContent, PDFMultilineText, PDFRichText, PDFSharedText, or PDFText, the Height property takes a double value. The unit is point (pt).