This documentation is archived and is not being maintained.

AutoSize Property (Page Object)

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.

Version Added: Visio 2010

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.