PageSetup PageSetup PageSetup Interface

Definition

Represents the page setup description. The PageSetup object contains all page setup attributes (left margin, bottom margin, paper size, and so on) as properties.

public interface class PageSetup
[System.Runtime.InteropServices.Guid("00020971-0000-0000-C000-000000000046")]
public interface PageSetup
Public Interface PageSetup
Attributes

Remarks

Use the PageSetup property to return a PageSetup object.

Properties

Application Application Application

Returns an Application object that represents the Microsoft Word application.

BookFoldPrinting BookFoldPrinting 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.

BookFoldPrintingSheets BookFoldPrintingSheets BookFoldPrintingSheets

Returns or sets an Integer which represents the number of pages for each booklet.

BookFoldRevPrinting BookFoldRevPrinting BookFoldRevPrinting

True for Microsoft Word to reverse the printing order for book fold printing of bidirectional or Asian language documents.

BottomMargin BottomMargin BottomMargin

Returns or sets the distance (in points) between the bottom edge of the page and the bottom boundary of the body text.

CharsLine CharsLine CharsLine

Returns or sets the number of characters per line in the document grid.

Creator Creator Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

DifferentFirstPageHeaderFooter DifferentFirstPageHeaderFooter DifferentFirstPageHeaderFooter

True if a different header or footer is used on the first page. Can be True, False, or wdUndefined.

FirstPageTray FirstPageTray FirstPageTray

Returns or sets the paper tray to use for the first page of a document or section.

FooterDistance FooterDistance FooterDistance

Returns or sets the distance (in points) between the footer and the bottom of the page.

Gutter Gutter Gutter

Returns or sets the amount (in points) of extra margin space added to each page in a document or section for binding.

GutterOnTop GutterOnTop GutterOnTop

Reserved for internal use.

GutterPos GutterPos GutterPos

Returns or sets on which side the gutter appears in a document.

GutterStyle GutterStyle 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.

HeaderDistance HeaderDistance HeaderDistance

Returns or sets the distance (in points) between the header and the top of the page.

LayoutMode LayoutMode LayoutMode

Returns or sets the layout mode for the current document.

LeftMargin LeftMargin LeftMargin

Returns or sets the distance (in points) between the left edge of the page and the left boundary of the body text.

LineNumbering LineNumbering LineNumbering

Returns or sets the LineNumbering object that represents the line numbers for the specified PageSetup object.

LinesPage LinesPage LinesPage

Returns or sets the number of lines per page in the document grid.

MirrorMargins MirrorMargins MirrorMargins

True if the inside and outside margins of facing pages are the same width. Can be True, False, or wdUndefined.

OddAndEvenPagesHeaderFooter OddAndEvenPagesHeaderFooter 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.

Orientation Orientation Orientation

Returns or sets the orientation of the page.

OtherPagesTray OtherPagesTray OtherPagesTray

Returns or sets the paper tray to be used for all but the first page of a document or section.

PageHeight PageHeight PageHeight

Returns or sets the height of the page in points.

PageWidth PageWidth PageWidth

Returns or sets the width of the page in points.

PaperSize PaperSize PaperSize

Returns or sets the paper size.

Parent Parent Parent

Returns an object that represents the parent object of the specified object.

RightMargin RightMargin RightMargin

Returns or sets the distance (in points) between the right edge of the page and the right boundary of the body text.

SectionDirection SectionDirection SectionDirection

Returns or sets the reading order and alignment for the specified sections.

SectionStart SectionStart SectionStart

Returns or sets the type of section break for the specified object.

ShowGrid ShowGrid ShowGrid

This member is for Macintosh only and should not be used.

SuppressEndnotes SuppressEndnotes 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.

TextColumns TextColumns TextColumns

Returns a TextColumns collection that represents the set of text columns for the specified PageSetup object.

TopMargin TopMargin TopMargin

Returns or sets the distance (in points) between the top edge of the page and the top boundary of the body text.

TwoPagesOnOne TwoPagesOnOne TwoPagesOnOne

True if Microsoft Word prints the specified document two pages per sheet.

VerticalAlignment VerticalAlignment VerticalAlignment

Returns or sets the vertical alignment of text on each page in a document or section.

Methods

SetAsTemplateDefault() SetAsTemplateDefault() SetAsTemplateDefault()

Sets the specified page setup formatting as the default for the active document and all new documents based on the active template.

TogglePortrait() TogglePortrait() TogglePortrait()

Switches between portrait and landscape page orientations for a document or section.

Applies to