Window.Zoom property (Visio)

Gets or sets the current display size (magnification factor) for a page in a window. Read/write.

Syntax

expression.Zoom

expression A variable that represents a Window object.

Return value

Double

Remarks

Valid values range from 0.05 to 9.99 (5% to 999%). The value -1 fits the page into the window. The default value is .67, which is equivalent to the Whole Page setting in the Zoom dialog box (on the View tab, in the Zoom group, click Zoom).

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.