Page.AutoSize property (Visio)

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.

Syntax

expression.AutoSize

expression An expression that returns a Page object.

Return value

Boolean

Remarks

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.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.