Viewer.Zoom property (Visio Viewer)

Gets or sets the percentage of zoom for Microsoft Visio Viewer. Read/write.

Syntax

expression.Zoom

expression An expression that returns a Viewer object.

Return value

Double

Remarks

Possible values for the Zoom property range from 1% through 400%, and also include Page, Width, and Last.

Example

The following code gets the percentage of zoom in the drawing that is open in Visio Viewer.

Debug.Print "Zoom = "; vsoViewer.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.