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 width of the page in points.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property PageWidth As Single
Get
Set
'Usage
Dim instance As PageSetup
Dim value As Single
value = instance.PageWidth
instance.PageWidth = value
float PageWidth { get; set; }
Property Value
Type: System.Single
Remarks
Setting the PageWidth 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.