用百分比的形式返回或设置窗口的显示比例。Long 类型,可读写。
expression.Percentage
expression 必需。该表达式返回一个 Zoom 对象。
本示例将活动窗口切换到普通视图并将显示比例设置为 80%。
With ActiveDocument.ActiveWindow.View
.Type = wdNormalView
.Zoom.Percentage = 80
End With
本示例将活动窗口的显示比例增加 10%。
Set myZoom = ActiveDocument.ActiveWindow.View.Zoom
myZoom.Percentage = myZoom.Percentage + 10