次の方法で共有


AutoSizeDrawing Method

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.

Version Information

Version Added: Visio 2010

Syntax

expression .AutoSizeDrawing

expression An expression that returns a Page object.

Return Value

Nothing

Remarks

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.