次の方法で共有


Pane.Zooms プロパティ

定義

Zooms#SameCHM各ビュー (標準ビュー、アウトライン ビュー、印刷レイアウト ビューなど) の拡大オプションを表すコレクションを返します。

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

プロパティ値

次の使用例は、開いている各文書ウィンドウの下書き表示モードでの表示倍率を 100% に設定します。

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

次の使用例は、印刷レイアウト表示でページ全体を表示できるように表示倍率を設定します。

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

注釈

コレクションの 1 つのメンバーを返す方法については、「」を参照してください ReturninganObjectfromaCollection#SameCHM

適用対象