返回或设置需要在页面视图或打印预览中在屏幕上并排显示的页数。Long 类型,可读写。
expression.PageColumns
expression 必需。该表达式返回一个 Zoom 对象。
本示例将活动窗口切换到页面视图,并显示并列竖排的两页。
With ActiveDocument.ActiveWindow.View
.Type = wdPrintView
.Zoom.PageColumns = 2
.Zoom.PageRows = 1
End With
本示例将 Hello.doc 的文档窗口切换到页面视图,并显示整页。
With Windows("Hello.doc").View
.Type = wdPrintView
With .Zoom
.PageColumns = 1
.PageRows = 1
.PageFit = wdPageFitFullPage
End With
End With