PageSetup Property
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
Returns a PageSetup object representing a publication’s page size, page layout and paper settings. Read-only.
expression.PageSetup
expression Required. An expression that returns one of the objects in the Applies To list.
Remarks
You can only use the PageSetup property when printing multiple pages on a single sheet of printer paper. If the page size is greater than half the paper size, Publisher will display an error.
Example
This example specifies page setup options for a publication with multiple publication pages printed on each sheet of printer paper.
Sub SetTopMargin()
With ActiveDocument.PageSetup
.PageHeight = InchesToPoints(5)
.PageWidth = InchesToPoints(8)
.MultiplePagesPerSheet = True
.TopMargin = InchesToPoints(0.25)
.LeftMargin = InchesToPoints(0.25)
End With
End Sub