PaperSize Property
Applies To
PageSetup object.
Description
Returns or sets the paper size. Read/write Long.
Can be one of the following WdPaperSize constants:
| |
| |
| |
| |
| |
| |
| |
- wdPaperFanfoldLegalGerman
| |
| |
| |
| |
| |
| |
Remarks
Setting the PageHeight property or the PageWidth property changes the PaperSize property to wdPaperCustom.
See Also
PageHeight property, PageWidth property.
Example
This example sets the paper size to legal for the first document.
Documents(1).PageSetup.PaperSize = wdPaperLegal