Height property (Display object)
Returns or sets the external height of the display window, in pixels, including the borders and title bar. Read/write. Long.
If a display is docked, this property is read-only.
The value assigned to this property must be greater than or equal to 27.
Syntax
Display
.Height
[ = value
]where
Display
– is the name of a Display object or an expression that evaluates to a Display object.value
– is the external height, in pixels, of the display.Remarks
- The value of this property can be changed even if the optionSize to Main Window at Runtimeis specified or the optionAllow Display to be Resizedis not specified.
- When the display is minimized, the height changes to match the height of the window icon in the lower left portion of the containing window.
- When the display is maximized, the height changes to match the height of the containing window.
- If you attempt to move or size a display that is minimized, maximized, or docked, the error gfxErrorMoveResize is raised.
Provide Feedback