Zooms Interface
TOC
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Zooms Interface

A collection of Zoom objects that represents the magnification options for each view (outline, normal, print layout, and so on).

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

[GuidAttribute("000209A7-0000-0000-C000-000000000046")]
public interface Zooms

Use the Zooms property to return the Zooms collection.

The Add method isn't available for the Zooms collection. The Zooms collection includes a single Zoom object for each of the various view types (outline, normal, page layout, and so on). You cannot enumerate the Zooms collection by using a For Each...Next loop.

Use Zooms(index), where index identifies the view type, to return a single Zoom object. The view type specified by index can be one of the following WdViewType constants: wdMasterView, wdNormalView, wdOutlineView, wdPrintPreview, wdPrintView, or wdWebView.

You can also use the Zoom property of the View object to return a single Zoom object.

Show:
© 2016 Microsoft