Cette documentation est archivée et n’est pas conservée.

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)

'Utilisation
Dim page1 As Page

Dim returnValue As Integer
returnValue = page1.Height

int Height {get;}
public int get_Height();
function get Height() : int;

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.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Afficher: