Table of contents
TOC
Collapse the table of content
Expand the table of content

Document.PaperSize Property (Visio)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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**
visPaperSizeUnknown0Not known
visPaperSizeLetter1Letter 8 1/2 x 11 in
visPaperSizeLegal5Legal 8 1/2 x 14 in
visPaperSizeA38A3 297 x 420 mm
visPaperSizeA49A4 210 x 297 mm
visPaperSizeA511A5 148 x 210 mm
visPaperSizeB412B4 (JIS) 250 x 354 mm
visPaperSizeB513B5 (JIS) 182 x 257 mm
visPaperSizeFolio14Folio 8 1/2 x 13 in
visPaperSizeNote18Note 8 1/2 x 11 in
visPaperSizeSizeC24C size sheet 17 x 22 in.
visPaperSizeSizeD25D size sheet 22 x 34 in.
visPaperSizeSizeE26E 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
© 2018 Microsoft