Word.Interfaces.PageSetupLoadOptions interface
Represents the page setup settings for a Word document or section.
Remarks
Properties
$all | Specifying |
book |
Specifies whether Microsoft Word prints the document as a booklet. |
book |
Specifies the number of pages for each booklet. |
book |
Specifies if Microsoft Word reverses the printing order for book fold printing of bidirectional or Asian language documents. |
bottom |
Specifies the distance (in points) between the bottom edge of the page and the bottom boundary of the body text. |
chars |
Specifies the number of characters per line in the document grid. |
different |
Specifies whether the first page has a different header and footer. |
footer |
Specifies the distance between the footer and the bottom of the page in points. |
gutter | Specifies the amount (in points) of extra margin space added to each page in a document or section for binding. |
gutter |
Specifies on which side the gutter appears in a document. |
gutter |
Specifies whether Microsoft Word uses gutters for the current document based on a right-to-left language or a left-to-right language. |
header |
Specifies the distance between the header and the top of the page in points. |
layout |
Specifies the layout mode for the current document. |
left |
Specifies the distance (in points) between the left edge of the page and the left boundary of the body text. |
line |
Specifies a |
lines |
Specifies the number of lines per page in the document grid. |
mirror |
Specifies if the inside and outside margins of facing pages are the same width. |
odd |
Specifies whether odd and even pages have different headers and footers. |
orientation | Specifies the orientation of the page. |
page |
Specifies the page height in points. |
page |
Specifies the page width in points. |
paper |
Specifies the paper size of the page. |
right |
Specifies the distance (in points) between the right edge of the page and the right boundary of the body text. |
section |
Specifies the reading order and alignment for the specified sections. |
section |
Specifies the type of section break for the specified object. |
show |
Specifies whether to show the grid. |
suppress |
Specifies if endnotes are printed at the end of the next section that doesn't suppress endnotes. |
top |
Specifies the top margin of the page in points. |
two |
Specifies whether to print two pages per sheet. |
vertical |
Specifies the vertical alignment of text on each page in a document or section. |
Property Details
$all
Specifying $all
for the load options loads all the scalar properties (such as Range.address
) but not the navigational properties (such as Range.format.fill.color
).
$all?: boolean;
Property Value
boolean
bookFoldPrinting
Specifies whether Microsoft Word prints the document as a booklet.
bookFoldPrinting?: boolean;
Property Value
boolean
Remarks
bookFoldPrintingSheets
Specifies the number of pages for each booklet.
bookFoldPrintingSheets?: boolean;
Property Value
boolean
Remarks
bookFoldReversePrinting
Specifies if Microsoft Word reverses the printing order for book fold printing of bidirectional or Asian language documents.
bookFoldReversePrinting?: boolean;
Property Value
boolean
Remarks
bottomMargin
Specifies the distance (in points) between the bottom edge of the page and the bottom boundary of the body text.
bottomMargin?: boolean;
Property Value
boolean
Remarks
charsLine
Specifies the number of characters per line in the document grid.
charsLine?: boolean;
Property Value
boolean
Remarks
differentFirstPageHeaderFooter
Specifies whether the first page has a different header and footer.
differentFirstPageHeaderFooter?: boolean;
Property Value
boolean
Remarks
footerDistance
Specifies the distance between the footer and the bottom of the page in points.
footerDistance?: boolean;
Property Value
boolean
Remarks
gutter
Specifies the amount (in points) of extra margin space added to each page in a document or section for binding.
gutter?: boolean;
Property Value
boolean
Remarks
gutterPosition
Specifies on which side the gutter appears in a document.
gutterPosition?: boolean;
Property Value
boolean
Remarks
gutterStyle
Specifies whether Microsoft Word uses gutters for the current document based on a right-to-left language or a left-to-right language.
gutterStyle?: boolean;
Property Value
boolean
Remarks
headerDistance
Specifies the distance between the header and the top of the page in points.
headerDistance?: boolean;
Property Value
boolean
Remarks
layoutMode
Specifies the layout mode for the current document.
layoutMode?: boolean;
Property Value
boolean
Remarks
leftMargin
Specifies the distance (in points) between the left edge of the page and the left boundary of the body text.
leftMargin?: boolean;
Property Value
boolean
Remarks
lineNumbering
Specifies a LineNumbering
object that represents the line numbers for the PageSetup
object.
lineNumbering?: Word.Interfaces.LineNumberingLoadOptions;
Property Value
Remarks
linesPage
Specifies the number of lines per page in the document grid.
linesPage?: boolean;
Property Value
boolean
Remarks
mirrorMargins
Specifies if the inside and outside margins of facing pages are the same width.
mirrorMargins?: boolean;
Property Value
boolean
Remarks
oddAndEvenPagesHeaderFooter
Specifies whether odd and even pages have different headers and footers.
oddAndEvenPagesHeaderFooter?: boolean;
Property Value
boolean
Remarks
orientation
Specifies the orientation of the page.
orientation?: boolean;
Property Value
boolean
Remarks
pageHeight
Specifies the page height in points.
pageHeight?: boolean;
Property Value
boolean
Remarks
pageWidth
Specifies the page width in points.
pageWidth?: boolean;
Property Value
boolean
Remarks
paperSize
Specifies the paper size of the page.
paperSize?: boolean;
Property Value
boolean
Remarks
rightMargin
Specifies the distance (in points) between the right edge of the page and the right boundary of the body text.
rightMargin?: boolean;
Property Value
boolean
Remarks
sectionDirection
Specifies the reading order and alignment for the specified sections.
sectionDirection?: boolean;
Property Value
boolean
Remarks
sectionStart
Specifies the type of section break for the specified object.
sectionStart?: boolean;
Property Value
boolean
Remarks
showGrid
Specifies whether to show the grid.
showGrid?: boolean;
Property Value
boolean
Remarks
suppressEndnotes
Specifies if endnotes are printed at the end of the next section that doesn't suppress endnotes.
suppressEndnotes?: boolean;
Property Value
boolean
Remarks
topMargin
Specifies the top margin of the page in points.
topMargin?: boolean;
Property Value
boolean
Remarks
twoPagesOnOne
Specifies whether to print two pages per sheet.
twoPagesOnOne?: boolean;
Property Value
boolean
Remarks
verticalAlignment
Specifies the vertical alignment of text on each page in a document or section.
verticalAlignment?: boolean;
Property Value
boolean