PaperSize Property
WdPaperSize
WdPaperSize can be one of these WdPaperSize constants. |
wdPaper10x14 |
wdPaper11x17 |
wdPaperA3 |
wdPaperA4 |
wdPaperA4Small |
wdPaperA5 |
wdPaperB4 |
wdPaperB5 |
wdPaperCSheet |
wdPaperCustom |
wdPaperDSheet |
wdPaperEnvelope10 |
wdPaperEnvelope11 |
wdPaperEnvelope12 |
wdPaperEnvelope14 |
wdPaperEnvelope9 |
wdPaperEnvelopeB4 |
wdPaperEnvelopeB5 |
wdPaperEnvelopeB6 |
wdPaperEnvelopeC3 |
wdPaperEnvelopeC4 |
wdPaperEnvelopeC5 |
wdPaperEnvelopeC6 |
wdPaperEnvelopeC65 |
wdPaperEnvelopeDL |
wdPaperEnvelopeItaly |
wdPaperEnvelopeMonarch |
wdPaperEnvelopePersonal |
wdPaperESheet |
wdPaperExecutive |
wdPaperFanfoldLegalGerman |
wdPaperFanfoldStdGerman |
wdPaperFanfoldUS |
wdPaperFolio |
wdPaperLedger |
wdPaperLegal |
wdPaperLetter |
wdPaperLetterSmall |
wdPaperNote |
wdPaperQuarto |
wdPaperStatement |
wdPaperTabloid |
expression.PaperSize
expression Required. An expression that returns a PageSetup object.
Remarks
Setting the PageHeight or PageWidth property changes the PaperSize property to wdPaperCustom.
Example
This example sets the paper size to legal for the first document.
Documents(1).PageSetup.PaperSize = wdPaperLegal
Applies to | PageSetup Object
See Also | PageHeight Property | PageWidth Property