WindowHeight, WindowWidth Properties

Applies To

Form.

Description

You can use these properties to return the height and width of a form in twips.

Setting

WindowHeight property settings are Integer values.

WindowWidth property settings are Integer values.

These property settings are read-only and are available only in a macro or Visual Basic.

Remarks

The WindowHeight property is measured from the upper-left corner of the form to its lower-left corner. The WindowWidth property is measured from the upper left corner of the form to its upper-right corner.

See Also

InsideHeight, InsideWidth Properties; Left, Top Properties.