Page.Width Property
Returns the width 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.Width
Syntax
ReadOnly Property Width() As Integer
int Width {get;}
property Int32 Width{
Int32 get();
}
public int get_Width();
function get Width() : 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