PublicationLayout Property

Microsoft Publisher Visual Basic

expression.PublicationLayout

expression    Required. An expression that returns a PageSetup object.

Remarks

Using the PublicationLayout property to set the layout of a publication is identical to setting the layout from the listbox in the Page Setup dialog.

Example

The following example sets the layout of the active publication to pbLayoutBusinessCardUS, which by default specifies a page width of 3.5 inches and a page height of 2 inches.

With ActiveDocument.PageSetup
    .PublicationLayout = pbLayoutBusinessCardUS
End With