Share via


PageSetup Object [Publisher 2003 VBA Language Reference]

Document
PageSetup
Multiple objects

Contains information about the page setup for the pages in a publication.

Using the PageSetup object

Use the PageSetup property to return the PageSetup object. The following example sets all pages in the active publication to be 8.5 inches wide and 11 inches high.

Sub SetPageSetupOptions()
    With ActiveDocument.PageSetup
        .PageHeight = 11 * 72
        .PageWidth = 8.5 * 72
    End With
End Sub

Properties | Application Property | AvailableLabels Property | HorizontalGap Property | Label Property | LeftMargin Property | MultiplePagesPerSheet Property | Orientation Property | PageHeight Property | PageWidth Property | Parent Property | PublicationLayout Property | TopMargin Property | VerticalGap Property

Parent Objects | Document Object

Child Objects | Label Object | Labels Object