Description
Use Height
property to read the vertical size of a rectangle bounding the element.
Declaration
TestObj.Height
Read-Only Property | Integer |
TestObj | A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section |
Applies To
The property is applied to the following object:
View Mode
To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
Property Value
The rectangle height in pixels.
Remarks
If TestObj refers to an object of a non-DPI-aware application running with a DPI setting other than 100%, the property returns a value relative to the application (as if the application was running with the 100% DPI setting).
Example
To view an example that demonstrates how to use the Height
property, see Determining the Bounds of a Status Bar Pane.