Page.AutoSizeDrawing Method (Visio)
Published: July 16, 2012
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 An expression that returns a Page object.
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.