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

Page.AutoSizeDrawing Method (Visio)

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

Automatically resizes the drawing page by adding as many printer-paper-sized tiles as necessary to fit all shapes in the drawing onto the page.


expression . AutoSizeDrawing

expression An expression that returns a Page object.

Return Value



If you call the AutoSizeDrawing method when the Print zoom setting in the user interface (on the Print Setup tab of the Page Setup dialog box on the Design tab) is set to Fit to (a specified number of sheets across and down), Visio returns an error, indicating that it cannot automatically resize that page.

© 2017 Microsoft