Zoom property

Microsoft Visio Developer Reference

Zoom property

See also   Example   

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

Version added

2.0

Syntax

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.

Remarks

Valid values range from 0.05 to 9.99 (5% to 999%). The value -1 fits the page into the window.