Pane.Zooms Propriété

Définition

Renvoie une Zooms#SameCHM collection qui représente les options d’agrandissement pour chaque mode d’affichage (affichage normal, mode 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é

Zooms

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 renvoi d’un seul membre d’une collection, reportez-vous à la rubrique ReturninganObjectfromaCollection#SameCHM .

S’applique à