Viewer.Zoom Property

Visio Viewer

Gets or sets the zoom, in percent, for the Microsoft Office Visio 2007 Viewer. Read/write.

Version Information
 Version Added:  Visio 2007

Syntax

expression.Zoom

expression   An expression that returns a Viewer object.

Return Value
Double

Remarks

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

Example
The following code gets the zoom, in percent, in the drawing open in the Viewer.

Visual Basic for Applications
  Debug.Print "Zoom = "; vsoViewer.Zoom