PageSetup Properties |
The PageSetup type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | Bidi |
Specifies that this section contains bidirectional (complex scripts) text.
|
![]() ![]() | BorderAlwaysInFront |
Specifies where the page border is positioned relative to intersecting texts and objects.
|
![]() ![]() | BorderAppliesTo |
Specifies which pages the page border is printed on.
|
![]() ![]() | BorderDistanceFrom |
Gets or sets a value that indicates whether the specified page border is measured from the edge of the page or from the text it surrounds.
|
![]() ![]() | Borders |
Gets a collection of the page borders.
|
![]() ![]() | BorderSurroundsFooter |
Specifies whether the page border includes or excludes the footer.
|
![]() ![]() | BorderSurroundsHeader |
Specifies whether the page border includes or excludes the header.
|
![]() ![]() | BottomMargin |
Returns or sets the distance (in points) between the bottom edge of the page and the bottom boundary of the body text.
|
![]() ![]() | CharactersPerLine |
Gets or sets the number of characters per line in the document grid.
|
![]() ![]() | DifferentFirstPageHeaderFooter | True if a different header or footer is used on the first page.
|
![]() ![]() | EndnoteOptions |
Provides options that control numbering and positioning of endnotes in this section.
|
![]() ![]() | FirstPageTray |
Gets or sets the paper tray (bin) to use for the first page of a section.
The value is implementation (printer) specific.
|
![]() ![]() | FooterDistance |
Returns or sets the distance (in points) between the footer and the bottom of the page.
|
![]() ![]() | FootnoteOptions |
Provides options that control numbering and positioning of footnotes in this section.
|
![]() ![]() | Gutter |
Gets or sets the amount of extra space added to the margin for document binding.
|
![]() ![]() | HeaderDistance |
Returns or sets the distance (in points) between the header and the top of the page.
|
![]() ![]() | LayoutMode |
Gets or sets the layout mode of this section.
|
![]() ![]() | LeftMargin |
Returns or sets the distance (in points) between the left edge of the page and the left boundary of the body text.
|
![]() ![]() | LineNumberCountBy |
Returns or sets the numeric increment for line numbers.
|
![]() ![]() | LineNumberDistanceFromText |
Gets or sets distance between the right edge of line numbers and the left edge of the document.
|
![]() ![]() | LineNumberRestartMode |
Gets or sets the way line numbering runs that is, whether it starts over at the beginning of a new
page or section or runs continuously.
|
![]() ![]() | LinesPerPage |
Gets or sets the number of lines per page in the document grid.
|
![]() ![]() | LineStartingNumber |
Gets or sets the starting line number.
|
![]() ![]() | MultiplePages |
For multiple page documents, gets or sets how a document is printed or rendered so that it can be bound as a booklet.
|
![]() ![]() | OddAndEvenPagesHeaderFooter | True if the document has different headers and footers for odd-numbered and even-numbered pages.
|
![]() ![]() | Orientation |
Returns or sets the orientation of the page.
|
![]() ![]() | OtherPagesTray |
Gets or sets the paper tray (bin) to be used for all but the first page of a section.
The value is implementation (printer) specific.
|
![]() ![]() | PageHeight |
Returns or sets the height of the page in points.
|
![]() ![]() | PageNumberStyle |
Gets or sets the page number format.
|
![]() ![]() | PageStartingNumber |
Gets or sets the starting page number of the section.
|
![]() ![]() | PageWidth |
Returns or sets the width of the page in points.
|
![]() ![]() | PaperSize |
Returns or sets the paper size.
|
![]() ![]() | RestartPageNumbering | True if page numbering restarts at the beginning of the section.
|
![]() ![]() | RightMargin |
Returns or sets the distance (in points) between the right edge of the page and the right boundary of the body text.
|
![]() ![]() | RtlGutter |
Gets or sets whether Microsoft Word uses gutters for the section based on a right-to-left language or a left-to-right language.
|
![]() ![]() | SectionStart |
Returns or sets the type of section break for the specified object.
|
![]() ![]() | SheetsPerBooklet |
Returns or sets the number of pages to be included in each booklet.
|
![]() ![]() | 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 |
Returns a collection that represents the set of text columns.
|
![]() ![]() | TextOrientation |
Allows to specify TextOrientation for the whole page.
Default value is Horizontal |
![]() ![]() | TopMargin |
Returns or sets the distance (in points) between the top edge of the page and the top boundary of the body text.
|
![]() ![]() | VerticalAlignment |
Returns or sets the vertical alignment of text on each page in a document or section.
|