Height Property

Microsoft Office InfoPath

A read/write property of type long integer that specifies the height of the the window represented by the Window object, measured in points.

expression.Height

expression    Required. An expression that returns a reference to the Window object.

Remarks

This property will return an error if it is set on a window that is minimized or maximized.

This property can't be set to a value that is larger than the value returned by the UsableHeight property.

Security Level

3: Can be accessed only by fully trusted forms.

Remarks

Note  This object model member is not supported when the Disable Service Pack features option on the Advanced tab of the Options dialog box in InfoPath is selected or when Microsoft Office 2003 Service Pack 1 or later is not installed. Any form that implements this object model member in its code will generate an error message if it is opened in InfoPath when service pack features are disabled or unavailable.