Share via


Pane.Zooms Propriété

Définition

Renvoie une Zooms#SameCHM collection qui représente les options d’agrandissement pour chaque affichage (par exemple, mode normal, plan ou mode Page).

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

Valeur de propriété

Exemples

Cet exemple montre comment fixer à 100 le pourcentage d'agrandissement en mode Normal pour chaque fenêtre ouverte.

<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>

Cet exemple montre comment définir le pourcentage d'agrandissement en mode Page de sorte que la totalité d'une page soit visible.

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

Remarques

Pour plus d’informations sur le retour d’un seul membre d’une collection, consultez ReturninganObjectfromaCollection#SameCHM.

S’applique à