Zooms Property
Zooms Property
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
Returns a Zooms collection that represents the magnification options for each view (normal view, outline view, print layout view, and so on).
expression.Zooms
expression Required. An expression that returns a Pane object.
Remarks
For information about returning a single member of a collection, see Returning an Object from a Collection.
Example
This example sets the magnification in normal view to 100 percent for each open window.
Dim wndLoop as Window
For Each wndLoop In Windows
wndLoop.ActivePane.Zooms(wdNormalView).Percentage = 100
Next wndLoop
This example sets the magnification in print layout view so that an entire page is visible.
ActiveDocument.ActiveWindow.Panes(1).Zooms(wdPrintView).PageFit = _
wdPageFitFullPage