Page.Height Property (Word)

Returns a Long that represents the height of a page, in pixels.

Syntax

expression. Top

expression An expression that represents a 'Page' object.

Remarks

The Top and Left properties of the Page object always return 0 (zero) indicating the upper left corner of the page. The Height and Width properties return the height and width in points (72 points = 1 inch) of the paper size specified in the Page Setup dialog box or through the PageSetup object. For example, for an 8-1/2 by 11 inch page in portrait mode, the Height property returns 792 and the Width property returns 612. All four of these properties are read-only.

See also

Page Object