Height Property

Example   Applies To   See Also

Specifies the height of an object on the screen. Available at design time and run time.

Syntax

Object.Height[ = nHeight]

Settings

nHeight

Specifies the object's height measured in the unit of measurement specified by the ScaleMode property of the form.

Remarks

For forms, the Height measurement does not include the borders and title bar.

For controls, the height is measured from the outside of the control's border.

The value for this property changes as the object is sized by the user or by code.

Use the Height and Width properties for calculations based on an object's total area.

Note   The Height property is read-only when it applies to a control contained in a Column object.