PageSize Object Members

Publisher Developer Reference

Gets the page size of the current publication.

Properties

  Name Description
Aa438697.properties(en-us,office.12).gif Application Used without an object qualifier, this property returns an Application object that represents the current instance of Microsoft Office 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. Read-only.
Aa438697.properties(en-us,office.12).gif HasBackgroundImage Returns True if the blank page size represented by the parent PageSize object has a background image. Read-only.
Aa438697.properties(en-us,office.12).gif HorizontalGap Returns a Variant that represents the distance between the right edge of one publication page and left edge of the next publication page in the same row in the blank page size represented by the parent PageSize object when multiple pages are printed on one sheet of printer paper. Read-only.
Aa438697.properties(en-us,office.12).gif LeftMargin Specifies the distance between the left edge of the printer sheet and the top edge of the publication page in the blank page size represented by the parent PageSize object. Read-only.
Aa438697.properties(en-us,office.12).gif Name Returns the name of the blank page size represented by the parent PageSize object. Read-only.
Aa438697.properties(en-us,office.12).gif PageHeight Gets or sets the page height of the blank page size represented by the parent PageSize object. Read/write.
Aa438697.properties(en-us,office.12).gif PageWidth Gets or sets the page width of the blank page size represented by the parent PageSize object. Read/write.
Aa438697.properties(en-us,office.12).gif Parent Returns the parent of the PageSize object. Read-only.
Aa438697.properties(en-us,office.12).gif TopMargin Specifies the distance between the top edge of the printer sheet and the top edge of the publication page for the blank page size represented by the parent PageSize object. Read-only.
Aa438697.properties(en-us,office.12).gif VerticalGap Returns a Variant that represents the distance in points between the bottom edge of one publication page and top edge of the publication page immediately below it for the blank page size represented by the parent PageSize object. This property applies only when multiple pages are printed on a single sheet of printer paper. Read-only.