Page.Height Property
The Height property returns the height in points (72 points = 1 inch) of the paper size specified in the Page Setup dialog or through the PageSetup object.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
Usage
Dim page1 As Page
Dim returnValue As Integer
returnValue = page1.Height
Syntax
ReadOnly Property Height() As Integer
int Height {get;}
property Int32 Height{
Int32 get();
}
public int get_Height();
function get Height() : int;
Remarks
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
Page Interface
Microsoft.Office.Interop.Word Namespace