Modifica

Condividi tramite


Pane.Zooms Property

Definition

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

public:
 property Microsoft::Office::Interop::Word::Zooms ^ Zooms { Microsoft::Office::Interop::Word::Zooms ^ get(); };
public Microsoft.Office.Interop.Word.Zooms Zooms { get; }
member this.Zooms : Microsoft.Office.Interop.Word.Zooms
Public ReadOnly Property Zooms As Zooms

Property Value

Examples

This example sets the magnification in normal view to 100 percent for each open window.

<span class="label">Dim wndLoop as Window 































































































































































































































































































































































































































































































































For Each wndLoop In Windows 































































































































































































































































    wndLoop.ActivePane.</span>
<span class="label">Zooms</span>
<span class="label">(wdNormalView).Percentage = 100Next wndLoop</span>

This example sets the magnification in print layout view so that an entire page is visible.

<span class="label">ActiveDocument.ActiveWindow.Panes(1).</span>
<span class="label">Zooms</span>
<span class="label">(wdPrintView).PageFit = _    wdPageFitFullPage</span>

Remarks

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

Applies to