Layout

wdAlignmentTabAlignmentSpecifies tab alignment.
wdAlignmentTabRelativeSpecifies whether alignment for a tab is relative to the margin or the paragraph indents.
wdHeaderFooterIndexReturns the specified header or footer in a document or section.
wdPaperSizeSpecifies a paper size.
wdPaperTraySpecifies a printer paper tray.
wdPrintOutItemSpecifies the item to print.
wdPrintOutPagesSpecifies the type of pages to print.
wdPrintOutRangeSpecifies a range to print.
wdAlignmentTabAlignment
Specifies tab alignment.
wdAlignmentTabRelative
Specifies whether alignment for a tab is relative to the margin or the paragraph indents.
wdHeaderFooterIndex
Returns the specified header or footer in a document or section.
wdPaperSize
Specifies a paper size.
wdPaperTray
Specifies a printer paper tray.
wdPrintOutItem
Specifies the item to print.
wdPrintOutPages
Specifies the type of pages to print.
wdPrintOutRange
Specifies a range to print.

wdAlignmentTabAlignment

Specifies tab alignment.

wdCenterCentered tab (1)
wdLeftLeft-aligned tab (0)
wdRightRight-aligned tab (2)

wdCenter
Centered tab (1)
wdLeft
Left-aligned tab (0)
wdRight
Right-aligned tab (2)

REMARKS
* Added in 2007.

wdAlignmentTabRelative

Specifies whether alignment for a tab is relative to the margin or the paragraph indents.

wdIndentWord calculates tab alignment relative to the paragraph indents (1)
wdMarginWord calculates tab alignment relative to the margins (0)

wdIndent
Word calculates tab alignment relative to the paragraph indents (1)
wdMargin
Word calculates tab alignment relative to the margins (0)

REMARKS
* Added in 2007.

wdHeaderFooterIndex

Returns the specified header or footer in a document or section.

wdHeaderFooterEvenPagesReturns the header (or footer) of all the even numbered pages in a document or section (3).
wdHeaderFooterFirstPageReturns the header (or footer) of the first page of a document or section (2)
wdHeaderFooterPrimaryReturns the header (or footer) on all pages other than the first page of a document or section (1)

wdHeaderFooterEvenPages
Returns the header (or footer) of all the even numbered pages in a document or section (3).
wdHeaderFooterFirstPage
Returns the header (or footer) of the first page of a document or section (2)
wdHeaderFooterPrimary
Returns the header (or footer) on all pages other than the first page of a document or section (1)

wdPaperSize

Specifies a paper size.

wdPaper10x140
wdPaper11x171
wdPaperA36
wdPaperA47
wdPaperA4Small8
wdPaperA59
wdPaperB410
wdPaperB511
wdPaperCSheet12
wdPaperCustom41
wdPaperDSheet13
wdPaperEnvelope1025
wdPaperEnvelope1126
wdPaperEnvelope1227
wdPaperEnvelope1428
wdPaperEnvelope924
wdPaperEnvelopeB429
wdPaperEnvelopeB530
wdPaperEnvelopeB631
wdPaperEnvelopeC332
wdPaperEnvelopeC433
wdPaperEnvelopeC534
wdPaperEnvelopeC635
wdPaperEnvelopeC6536
wdPaperEnvelopeDL37
wdPaperEnvelopeItaly38
wdPaperEnvelopeMonarch39
wdPaperEnvelopePersonal40
wdPaperESheet14
wdPaperExecutive5
wdPaperFanfoldLegalGerman15
wdPaperFanfoldStdGerman16
wdPaperFanfoldUS17
wdPaperFolio18
wdPaperLedger19
wdPaperLegal4
wdPaperLetter2
wdPaperLetterSmall3
wdPaperNote20
wdPaperQuarto21
wdPaperStatement22
wdPaperTabloid23

wdPaper10x14
0
wdPaper11x17
1
wdPaperA3
6
wdPaperA4
7
wdPaperA4Small
8
wdPaperA5
9
wdPaperB4
10
wdPaperB5
11
wdPaperCSheet
12
wdPaperCustom
41
wdPaperDSheet
13
wdPaperEnvelope10
25
wdPaperEnvelope11
26
wdPaperEnvelope12
27
wdPaperEnvelope14
28
wdPaperEnvelope9
24
wdPaperEnvelopeB4
29
wdPaperEnvelopeB5
30
wdPaperEnvelopeB6
31
wdPaperEnvelopeC3
32
wdPaperEnvelopeC4
33
wdPaperEnvelopeC5
34
wdPaperEnvelopeC6
35
wdPaperEnvelopeC65
36
wdPaperEnvelopeDL
37
wdPaperEnvelopeItaly
38
wdPaperEnvelopeMonarch
39
wdPaperEnvelopePersonal
40
wdPaperESheet
14
wdPaperExecutive
5
wdPaperFanfoldLegalGerman
15
wdPaperFanfoldStdGerman
16
wdPaperFanfoldUS
17
wdPaperFolio
18
wdPaperLedger
19
wdPaperLegal
4
wdPaperLetter
2
wdPaperLetterSmall
3
wdPaperNote
20
wdPaperQuarto
21
wdPaperStatement
22
wdPaperTabloid
23

wdPaperTray

Specifies a printer paper tray.

wdPrinterAutomaticSheetFeed262 (7)
wdPrinterDefaultBin0
wdPrinterEnvelopeFeed5
wdPrinterFormSource15
wdPrinterLargeCapacityBinTray 4 258 (11)
wdPrinterLargeFormatBin10
wdPrinterLowerBinTray 3 259 (2)
wdPrinterManualEnvelopeFeed6
wdPrinterManualFeed4
wdPrinterMiddleBinManual Feed 257 (3)
wdPrinterOnlyBin1
wdPrinterPaperCassette14
wdPrinterSmallFormatBin9
wdPrinterTractorFeed8
wdPrinterUpperBin1

wdPrinterAutomaticSheetFeed
262 (7)
wdPrinterDefaultBin
0
wdPrinterEnvelopeFeed
5
wdPrinterFormSource
15
wdPrinterLargeCapacityBin
Tray 4 258 (11)
wdPrinterLargeFormatBin
10
wdPrinterLowerBin
Tray 3 259 (2)
wdPrinterManualEnvelopeFeed
6
wdPrinterManualFeed
4
wdPrinterMiddleBin
Manual Feed 257 (3)
wdPrinterOnlyBin
1
wdPrinterPaperCassette
14
wdPrinterSmallFormatBin
9
wdPrinterTractorFeed
8
wdPrinterUpperBin
1

REMARKS
* 261 - Tray 1
* 260 - Tray 2

wdPrintOutItem

Specifies the item to print.

wdPrintAutoTextEntriesAutotext entries in the current document (4)
wdPrintCommentsComments in the current document (2)
wdPrintDocumentContentCurrent document content (0)
wdPrintDocumentWithMarkupCurrent document content including markup (7)
wdPrintEnvelopeAn envelope (6)
wdPrintKeyAssignmentsKey assignments in the current document (5)
wdPrintMarkupMarkup in the current document (2)
wdPrintPropertiesProperties in the current document (1)
wdPrintStylesStyles in the current document (3)

wdPrintAutoTextEntries
Autotext entries in the current document (4)
wdPrintComments
Comments in the current document (2)
wdPrintDocumentContent
Current document content (0)
wdPrintDocumentWithMarkup
Current document content including markup (7)
wdPrintEnvelope
An envelope (6)
wdPrintKeyAssignments
Key assignments in the current document (5)
wdPrintMarkup
Markup in the current document (2)
wdPrintProperties
Properties in the current document (1)
wdPrintStyles
Styles in the current document (3)

REMARKS
* wdPrintMarkup and wdPrintComments have the same value ??

wdPrintOutPages

Specifies the type of pages to print.

wdPrintAllPagesAll pages (0)
wdPrintEvenPagesOnlyEven-numbered pages only (2)
wdPrintOddPagesOnlyOdd-numbered pages only (1)

wdPrintAllPages
All pages (0)
wdPrintEvenPagesOnly
Even-numbered pages only (2)
wdPrintOddPagesOnly
Odd-numbered pages only (1)

wdPrintOutRange

Specifies a range to print.

wdPrintAllDocumentThe entire document (0)
wdPrintCurrentPageThe current page (2)
wdPrintFromToA specified range (3)
wdPrintRangeOfPagesA specified range of pages (4)
wdPrintSelectionThe current selection (1)

wdPrintAllDocument
The entire document (0)
wdPrintCurrentPage
The current page (2)
wdPrintFromTo
A specified range (3)
wdPrintRangeOfPages
A specified range of pages (4)
wdPrintSelection
The current selection (1)


© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited Top