PageSetup.PageHeight Property
Returns or sets the height of the page in points.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
Usage
Dim pageSetup1 As PageSetup
Dim returnValue As Single
returnValue = pageSetup1.PageHeight
Dim sampleValue As Single
pageSetup1.PageHeight = sampleValue
Syntax
Property PageHeight() As Single
float PageHeight {get; set;}
property Single PageHeight{
Single get();
Void set(Single);
}
public float get_PageHeight();
public void set_PageHeight(float);
function get PageHeight() : float;
function set PageHeight(float);
Remarks
Setting the PageHeight property changes the PaperSize property to wdPaperCustom.
Use the PaperSize property to set the page height and width to those of a predefined paper size, such as Letter or A4.
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
PageSetup Interface
Microsoft.Office.Interop.Word Namespace