Page.AutoSize Property (Visio)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Determines whether Microsoft Visio automatically resizes the drawing page by adding printer-paper-sized sheets, as necessary, to fit the drawing's contents. Read/write.

expression .AutoSize

expression An expression that returns a Page object.

Return Value


Set AutoSize to True to enable automatic resizing of the page. Set AutoSize to False (the default) to disable automatic resizing.

The AutoSize property setting corresponds to the state of the AutoSize button in the Page Setup group on the Design tab.