PageSetup.PublicationLayout property (Publisher)

Returns or sets a PbPublicationLayout constant that indicates the layout of a publication. Read/write.

Syntax

expression.PublicationLayout

expression A variable that represents a PageSetup object.

Return value

PbPublicationLayout

Remarks

Using the PublicationLayout property to set the layout of a publication is equivalent to setting the layout from the list box in the Page Setup dialog box.

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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.