Zooms Interface
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)

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.

© 2016 Microsoft