Window.ZoomLock Property
Visio Automation Reference |
Determines whether zooming is disabled in a Microsoft Office Visio drawing window. Read/write.
Version Information
Version Added: Visio 2003
Syntax
expression.ZoomLock
expression A variable that represents a Window object.
Return Value
Boolean
Remarks
Zooming (False) is the default Visio behavior. You can use the ZoomLock property to prevent zooming in any Visio drawing window, including page, master, and group windows. Attempting to set the ZoomLock for other windows, including stencil windows, ShapeSheet windows, and icon windows, will throw an exception.
The ZoomLock property setting is valid only for a given window at run time, and is not persisted (saved) in either the Visio document or the registry.
See Also