Share via


PageSetup Object Members

Word Developer Reference

Represents the page setup description. The PageSetup object contains all the page setup attributes of a document (such as left margin, bottom margin, and paper size) as properties.

Methods

  Name Description
Bb257686.methods(en-us,office.12).gif SetAsTemplateDefault Sets the specified page setup formatting as the default for the active document and all new documents based on the active template.
Bb257686.methods(en-us,office.12).gif TogglePortrait Switches between portrait and landscape page orientations for a document or section.

Properties

  Name Description
Bb257686.properties(en-us,office.12).gif Application Returns an Application object that represents the Microsoft Word application.
Bb257686.properties(en-us,office.12).gif BookFoldPrinting True for Microsoft Word to print a document in a series of booklets so the printed pages can be folded and read as a book. Read/write Boolean.
Bb257686.properties(en-us,office.12).gif BookFoldPrintingSheets Returns or sets a Long which represents the number of pages for each booklet. Read/write Boolean.
Bb257686.properties(en-us,office.12).gif BookFoldRevPrinting True for Microsoft Word to reverse the printing order for book fold printing of bidirectional or Asian language documents. Read/write Boolean.
Bb257686.properties(en-us,office.12).gif BottomMargin Returns or sets the distance (in points) between the bottom edge of the page and the bottom boundary of the body text. Read/write Single.
Bb257686.properties(en-us,office.12).gif CharsLine Returns or sets the number of characters per line in the document grid. Read/write Single.
Bb257686.properties(en-us,office.12).gif Creator Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.
Bb257686.properties(en-us,office.12).gif DifferentFirstPageHeaderFooter True if a different header or footer is used on the first page. Can be True, False, or wdUndefined. Read/write Long.
Bb257686.properties(en-us,office.12).gif FirstPageTray Returns or sets the paper tray to use for the first page of a document or section. Read/write WdPaperTray.
Bb257686.properties(en-us,office.12).gif FooterDistance Returns or sets the distance (in points) between the footer and the bottom of the page. Read/write Single.
Bb257686.properties(en-us,office.12).gif Gutter Returns or sets the amount (in points) of extra margin space added to each page in a document or section for binding. Read/write Single.
Bb257686.properties(en-us,office.12).gif GutterPos Returns or sets on which side the gutter appears in a document. Read/write WdGutterStyle.
Bb257686.properties(en-us,office.12).gif GutterStyle Returns or sets whether Microsoft Word uses gutters for the current document based on a right-to-left language or a left-to-right language. Read/write WdGutterStyleOld.
Bb257686.properties(en-us,office.12).gif HeaderDistance Returns or sets the distance (in points) between the header and the top of the page. Read/write Single.
Bb257686.properties(en-us,office.12).gif LayoutMode Returns or sets the layout mode for the current document. Read/write WdLayoutMode.
Bb257686.properties(en-us,office.12).gif LeftMargin Returns or sets the distance (in points) between the left edge of the page and the left boundary of the body text. Read/write Single.
Bb257686.properties(en-us,office.12).gif LineNumbering Returns or sets a LineNumbering object that represents the line numbers for the specified PageSetup object.
Bb257686.properties(en-us,office.12).gif LinesPage Returns or sets the number of lines per page in the document grid. Read/write Single.
Bb257686.properties(en-us,office.12).gif MirrorMargins True if the inside and outside margins of facing pages are the same width. Read/write Long.
Bb257686.properties(en-us,office.12).gif OddAndEvenPagesHeaderFooter True if the specified PageSetup object has different headers and footers for odd-numbered and even-numbered pages. Read/write Long.
Bb257686.properties(en-us,office.12).gif Orientation Returns or sets the orientation of the page. Read/write WdOrientation.
Bb257686.properties(en-us,office.12).gif OtherPagesTray Returns or sets the paper tray to be used for all but the first page of a document or section. Read/write WdPaperTray.
Bb257686.properties(en-us,office.12).gif PageHeight Returns or sets the height of the page in points. Read/write Single.
Bb257686.properties(en-us,office.12).gif PageWidth Returns or sets the width of the page in points. Read/write Single.
Bb257686.properties(en-us,office.12).gif PaperSize Returns or sets the paper size. Read/write WdPaperSize.
Bb257686.properties(en-us,office.12).gif Parent Returns an Object that represents the parent object of the specified PageSetup object.
Bb257686.properties(en-us,office.12).gif RightMargin Returns or sets the distance (in points) between the right edge of the page and the right boundary of the body text. Read/write Single.
Bb257686.properties(en-us,office.12).gif SectionDirection Returns or sets the reading order and alignment for the specified sections. Read/write WdSectionDirection.
Bb257686.properties(en-us,office.12).gif SectionStart Returns or sets the type of section break for the specified object. Read/write WdSectionStart.
Bb257686.properties(en-us,office.12).gif ShowGrid You have requested Help for a Visual Basic keyword used only on the Macintosh. For information about the ShowGrid property of the PageSetup object, consult the language reference Help included with Microsoft Office Macintosh Edition.
Bb257686.properties(en-us,office.12).gif SuppressEndnotes True if endnotes are printed at the end of the next section that doesn't suppress endnotes. Read/write Long.
Bb257686.properties(en-us,office.12).gif TextColumns Returns a TextColumns collection that represents the set of text columns for the specified PageSetup object.
Bb257686.properties(en-us,office.12).gif TopMargin Returns or sets the distance (in points) between the top edge of the page and the top boundary of the body text. Read/write Single.
Bb257686.properties(en-us,office.12).gif TwoPagesOnOne True if Microsoft Word prints the specified document two pages per sheet. Read/write Boolean.
Bb257686.properties(en-us,office.12).gif VerticalAlignment Returns or sets the vertical alignment of text on each page in a document or section. Read/write WdVerticalAlignment.