Height (ActiveX)

This property returns and sets the dimensions of an object.

Syntax

object.Height [= number]

Parameters

object
Object expression that evaluates to a control.
number
Numeric expression specifying the dimensions of an object. Measurements are measured from the center of the control's border so that controls with different border widths align correctly. These properties use the scale units of a control's container.

Remarks

For a control, the values for this property changes as the object is sized by a user or by your code. Maximum limits of this property for all objects are system-dependent.

Use the Height property for operations or calculations based on an object's total area, such as sizing or moving the object.