Table of contents
TOC
Collapse the table of content
Expand the table of content

PageSetup.PageWidth Property (Publisher)

office 365 dev account|Last Updated: 8/24/2017
|
3 Contributors

Returns or sets a Variant that represents the width of the pages in a publication. Read/write.

Syntax

expression. PageWidth

_expression_A variable that represents a PageSetup object.

Return Value

Variant

Remarks

Numeric values are evaluated as points. String values can be in any unit supported by Microsoft Publisher (for example, "2.5 in"). The valid range of possible values is from zero to the difference between the sheet width and the page width.

Example

The following example sets a width of eight inches for the pages in the active publication.

Public Sub PageWidth_Example() 
 ActiveDocument.PageSetup.PageWidth = InchesToPoints(8) 
End Sub
© 2018 Microsoft