Share via


Pane.Zooms Property

Returns a [Zooms#SameCHM] collection that represents the magnification options for each view (such as normal view, outline view or print layout view).

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

Syntax

'Declaration
ReadOnly Property Zooms As Zooms
    Get
'Usage
Dim instance As Pane
Dim value As Zooms

value = instance.Zooms
Zooms Zooms { get; }

Property Value

Type: Microsoft.Office.Interop.Word.Zooms

Remarks

For information about returning a single member of a collection, see [ReturninganObjectfromaCollection#SameCHM].

Examples

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 = 100Next 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

See Also

Reference

Pane Interface

Pane Members

Microsoft.Office.Interop.Word Namespace