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>

注解

有关返回集合的单个成员的信息,请参阅 ReturninganObjectfromaCollection#SameCHM

适用于