WindowHeight, WindowWidth Properties

Applies To

Form.

Description

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

Setting

The WindowHeight and WindowWidth property settings are Integer values.

These property settings are read-only and are available only by using 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

CurrentSectionLeft, CurrentSectionTop properties, Height, Width properties, InsideHeight, InsideWidth properties, Left, Top properties.