Document.PaperSize property (Visio)
Gets or sets the paper size of a document. Read/write.
Syntax
expression.PaperSize
expression A variable that represents a Document object.
Return value
VisPaperSizes
Remarks
Setting the PaperSize property is the equivalent of choosing a printer paper size on the Print Setup tab of the Page Setup dialog box (on the Design tab, click the Page Setup arrow). The value of PaperSize can be one of the following VisPaperSizes constants.
Constant | Value | Description |
---|---|---|
visPaperSizeUnknown | 0 | Not known |
visPaperSizeLetter | 1 | Letter 8 1/2 x 11 in |
visPaperSizeLegal | 5 | Legal 8 1/2 x 14 in |
visPaperSizeA3 | 8 | A3 297 x 420 mm |
visPaperSizeA4 | 9 | A4 210 x 297 mm |
visPaperSizeA5 | 11 | A5 148 x 210 mm |
visPaperSizeB4 | 12 | B4 (JIS) 250 x 354 mm |
visPaperSizeB5 | 13 | B5 (JIS) 182 x 257 mm |
visPaperSizeFolio | 14 | Folio 8 1/2 x 13 in |
visPaperSizeNote | 18 | Note 8 1/2 x 11 in |
visPaperSizeSizeC | 24 | C size sheet 17 x 22 in. |
visPaperSizeSizeD | 25 | D size sheet 22 x 34 in. |
visPaperSizeSizeE | 26 | E size sheet 34 x 44 in. |
If your Visual Studio solution includes the Microsoft.Office.Interop.Visio reference, this property maps to the following types:
- Microsoft.Office.Interop.Visio.IVDocument.PaperSize
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기