Format-VisioWindow
The Format-VisioWindow
command controls the Zoom level of the active window.
Zoom to objects in a drawing
The -To
parameter zooms the window relative to the active page or selection.
Zoom to a specific zoom level
The -Value
parameter sets the zoom value directly. Visio's zoom value is a positive floating point number where 1.0 represents 100% zoom. Values greater than 1 means "Zoom in" and values less then 1 mean "Zoom out".
Incrementally changing the zoom
The -ValueRelative
parameter allows you to change the zoom in increments without having to specify an exact value. To zoom in by 10% of the current value use 1.1.
Last updated