Partager via


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 Information

Version Added: Visio 2010

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.