PageSetup Properties

Include Protected Members
Include Inherited Members

The PageSetup type exposes the following members.

Properties

  Name Description
Public property Application Returns an Application object that represents the Microsoft Word application.
Public property 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.
Public property BookFoldPrintingSheets Returns or sets an Integer which represents the number of pages for each booklet.
Public property BookFoldRevPrinting True for Microsoft Word to reverse the printing order for book fold printing of bidirectional or Asian language documents.
Public property BottomMargin Returns or sets the distance (in points) between the bottom edge of the page and the bottom boundary of the body text.
Public property CharsLine Returns or sets the number of characters per line in the document grid.
Public property Creator Returns a 32-bit integer that indicates the application in which the specified object was created.
Public property DifferentFirstPageHeaderFooter True if a different header or footer is used on the first page. Can be True, False, or wdUndefined.
Public property FirstPageTray Returns or sets the paper tray to use for the first page of a document or section.
Public property FooterDistance Returns or sets the distance (in points) between the footer and the bottom of the page.
Public property Gutter Returns or sets the amount (in points) of extra margin space added to each page in a document or section for binding.
Public property GutterOnTop Reserved for internal use.
Public property GutterPos Returns or sets on which side the gutter appears in a document.
Public property 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.
Public property HeaderDistance Returns or sets the distance (in points) between the header and the top of the page.
Public property LayoutMode Returns or sets the layout mode for the current document.
Public property LeftMargin Returns or sets the distance (in points) between the left edge of the page and the left boundary of the body text.
Public property LineNumbering Returns or sets the LineNumbering object that represents the line numbers for the specified PageSetup object.
Public property LinesPage Returns or sets the number of lines per page in the document grid.
Public property MirrorMargins True if the inside and outside margins of facing pages are the same width. Can be True, False, or wdUndefined.
Public property OddAndEvenPagesHeaderFooter True if the specified PageSetup object has different headers and footers for odd-numbered and even-numbered pages. Can be True, False, or wdUndefined.
Public property Orientation Returns or sets the orientation of the page.
Public property OtherPagesTray Returns or sets the paper tray to be used for all but the first page of a document or section.
Public property PageHeight Returns or sets the height of the page in points.
Public property PageWidth Returns or sets the width of the page in points.
Public property PaperSize Returns or sets the paper size.
Public property Parent Returns an object that represents the parent object of the specified object.
Public property RightMargin Returns or sets the distance (in points) between the right edge of the page and the right boundary of the body text.
Public property SectionDirection Returns or sets the reading order and alignment for the specified sections.
Public property SectionStart Returns or sets the type of section break for the specified object.
Public property ShowGrid This member is for Macintosh only and should not be used.
Public property SuppressEndnotes True if endnotes are printed at the end of the next section that doesn't suppress endnotes. Suppressed endnotes are printed before the endnotes in that section.
Public property TextColumns Returns a TextColumns collection that represents the set of text columns for the specified PageSetup object.
Public property TopMargin Returns or sets the distance (in points) between the top edge of the page and the top boundary of the body text.
Public property TwoPagesOnOne True if Microsoft Word prints the specified document two pages per sheet.
Public property VerticalAlignment Returns or sets the vertical alignment of text on each page in a document or section.

Top

See Also

Reference

PageSetup Interface

Microsoft.Office.Interop.Word Namespace