Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns or sets the paper size.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property PaperSize As WdPaperSize
Get
Set
'Usage
Dim instance As PageSetup
Dim value As WdPaperSize
value = instance.PaperSize
instance.PaperSize = value
WdPaperSize PaperSize { get; set; }
Property Value
Type: Microsoft.Office.Interop.Word.WdPaperSize
Remarks
Setting the PageHeight or PageWidth property changes the PaperSize property to wdPaperCustom.