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)
Syntax
'Declaration
Property PageHeight As Single
Get
Set
'Usage
Dim instance As PageSetup
Dim value As Single
value = instance.PageHeight
instance.PageHeight = value
float PageHeight { get; set; }
Property Value
Type: System.Single
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.