This documentation is archived and is not being maintained.

PageSetup Object Members

Office 2007

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

Properties

 NameDescription
Aa438693.properties(en-us,office.12).gif Application Used without an object qualifier, this property returns an Application object that represents the current instance of Publisher. Used with an object qualifier, this property returns an Application object that represents the creator of the specified object. When used with an OLE Automation object, it returns the object's application.
Aa438693.properties(en-us,office.12).gif AvailablePageSizes Returns the PageSizes collection that contains all the PageSize objects available in the current publication.
Aa438693.properties(en-us,office.12).gif HorizontalGap Returns or sets a Variant indicating the distance between the right edge of the publication page and left edge of the next publication page in the same row. Numeric values are evaluated as points; string values may be in any unit supported by Microsoft Office Publisher (for example, "2.5 in"). Valid range is zero to the difference between the sheet width and the page width. Read/write.
Aa438693.properties(en-us,office.12).gif LeftMargin Returns or sets a Variant that represents the distance (in points) between the left edge of the printer sheet and the left edge of the publication pages. Read/write.
Aa438693.properties(en-us,office.12).gif PageHeight Returns or sets a Variant that represents the height of the pages in a publication. Read/write.
Aa438693.properties(en-us,office.12).gif PageSize Returns or sets the page size for the specified custom mailing label. Read/write.
Aa438693.properties(en-us,office.12).gif PageWidth Returns or sets a Variant that represents the width of the pages in a publication. Read/write.
Aa438693.properties(en-us,office.12).gif Parent Returns the parent object of the PageSetup object. Read-only.
Aa438693.properties(en-us,office.12).gif PublicationLayout Returns or sets a PbPublicationLayout constant that indicates the layout of a publication. Read/write.
Aa438693.properties(en-us,office.12).gif TopMargin Returns or sets a Variant that represents the distance (in points) between the top edge of the printer sheet and the top edge of the publication pages. Read/write.
Aa438693.properties(en-us,office.12).gif VerticalGap When multiple pages are printed on one sheet of printer paper, returns or sets a Variant that represents the distance (in points) between the bottom edge of the publication page and top edge of the publication page in the row immediately below. Read/write.


Show: