Share via


Zoom Property [Visio 2003 SDK Documentation]

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

retVal = object**.Zoom**

object**.Zoom** = newZoom

retVal     Double. The current display size for the window.

object     Required. An expression that returns a Window object.

newZoom     Required Double. The new display size for the window.

Version added

2.0

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 on the Zoom submenu of the View menu in the user interface.

Applies to | Window object