Word.Interfaces.WindowCollectionLoadOptions interface
表示 Word 的集合。窗口对象。
属性
| $all | 指定加载选项将 |
| active |
对于集合中的每个项: 获取窗口中的活动窗格。 |
| are |
For EACH ITEM in the collection: 指定为窗口或窗格显示标尺。 |
| are |
对于集合中的每个项目:指定注释、脚注、尾注和超链接是否显示为提示。 |
| are |
对于集合中的每个项:指定文档中页面的缩略图是否显示在 Microsoft Word 文档窗口的左侧。 |
| caption | 对于集合中的每个项目:指定文档或应用程序窗口的标题栏中显示的窗口的描述文字文本。 |
| height | For EACH ITEM in the collection: 指定窗口 (的高度(以) 磅为单位)。 |
| horizontal |
对于集合中的每个项目: 指定水平滚动位置,以文档宽度的百分比表示。 |
| ime |
对于集合中的每个项目: 指定日语输入法编辑器 (IME) 的默认启动模式。 |
| index | 对于集合中的每个项:获取项在集合中的位置。 |
| is |
For EACH ITEM in the collection: 指定窗口是否处于活动状态。 |
| is |
For EACH ITEM in the collection: 指定文档结构图是否可见。 |
| is |
对于集合中的每个项目: 指定电子邮件标题在文档窗口中是否可见。 默认值为 |
| is |
For EACH ITEM in the collection: 指定是否为窗口显示水平滚动条。 |
| is |
对于集合中的每个项目:指定垂直滚动条是否显示在文档窗口的左侧。 |
| is |
对于集合中的每个项目:指定垂直标尺是否在文档窗口的右侧显示在页面视图中的页面视图中。 |
| is |
For EACH ITEM in the collection: 指定窗口是否拆分为多个窗格。 |
| is |
For EACH ITEM in the collection: 指定为窗口或窗格显示垂直标尺。 |
| is |
For EACH ITEM in the collection: 指定是否为窗口显示垂直滚动条。 |
| is |
对于集合中的每个项目: 指定窗口是否可见。 |
| left | 对于集合中的每个项目: 指定窗口的水平位置(以磅为单位)。 |
| next | 对于集合中的每个项:获取打开的文档窗口集合中的下一个文档窗口。 |
| previous | 对于集合中的每个项:获取集合打开文档窗口中的上一个文档窗口。 |
| show |
对于集合中的每个项目: 指定 Microsoft Word 在比较和合并过程后如何显示源文档。 |
| split |
对于集合中的每个项: 指定窗口的垂直拆分百分比。 |
| state | 对于集合中的每个项目: 指定文档窗口或任务窗口的状态。 |
| style |
对于集合中的每个项目: 指定样式区域的宽度(以磅为单位)。 |
| top | 对于集合中的每个项目: 指定文档窗口的垂直位置(以磅为单位)。 |
| type | 对于集合中的每个项目: 获取窗口类型。 |
| usable |
对于集合中的每个项目:获取文档窗口中活动工作区域) 的高度 (。 |
| usable |
对于集合中的每个项目:获取文档窗口中活动工作区域) 的宽度 ((以磅为单位)。 |
| vertical |
对于集合中的每个项目: 指定垂直滚动位置,以文档长度的百分比表示。 |
| view | For EACH ITEM in the collection: 获取 |
| width | 对于集合中的每个项目: 指定文档窗口的宽度(以磅为单位)。 |
| window |
For EACH ITEM in the collection: 获取表示窗口位置的整数。 |
属性详细信息
$all
指定加载选项将 $all 加载所有标量属性 ((如 Range.address) ),但不会加载导航属性 ((如 Range.format.fill.color) )。
$all?: boolean;
属性值
boolean
activePane
对于集合中的每个项: 获取窗口中的活动窗格。
activePane?: Word.Interfaces.PaneLoadOptions;
属性值
注解
areRulersDisplayed
For EACH ITEM in the collection: 指定为窗口或窗格显示标尺。
areRulersDisplayed?: boolean;
属性值
boolean
注解
areScreenTipsDisplayed
对于集合中的每个项目:指定注释、脚注、尾注和超链接是否显示为提示。
areScreenTipsDisplayed?: boolean;
属性值
boolean
注解
areThumbnailsDisplayed
对于集合中的每个项:指定文档中页面的缩略图是否显示在 Microsoft Word 文档窗口的左侧。
areThumbnailsDisplayed?: boolean;
属性值
boolean
注解
caption
height
For EACH ITEM in the collection: 指定窗口 (的高度(以) 磅为单位)。
height?: boolean;
属性值
boolean
注解
horizontalPercentScrolled
对于集合中的每个项目: 指定水平滚动位置,以文档宽度的百分比表示。
horizontalPercentScrolled?: boolean;
属性值
boolean
注解
imeMode
index
isActive
For EACH ITEM in the collection: 指定窗口是否处于活动状态。
isActive?: boolean;
属性值
boolean
注解
isDocumentMapVisible
For EACH ITEM in the collection: 指定文档结构图是否可见。
isDocumentMapVisible?: boolean;
属性值
boolean
注解
isEnvelopeVisible
对于集合中的每个项目: 指定电子邮件标题在文档窗口中是否可见。 默认值为 false。
isEnvelopeVisible?: boolean;
属性值
boolean
注解
isHorizontalScrollBarDisplayed
For EACH ITEM in the collection: 指定是否为窗口显示水平滚动条。
isHorizontalScrollBarDisplayed?: boolean;
属性值
boolean
注解
isLeftScrollBarDisplayed
对于集合中的每个项目:指定垂直滚动条是否显示在文档窗口的左侧。
isLeftScrollBarDisplayed?: boolean;
属性值
boolean
注解
isRightRulerDisplayed
对于集合中的每个项目:指定垂直标尺是否在文档窗口的右侧显示在页面视图中的页面视图中。
isRightRulerDisplayed?: boolean;
属性值
boolean
注解
isSplit
For EACH ITEM in the collection: 指定窗口是否拆分为多个窗格。
isSplit?: boolean;
属性值
boolean
注解
isVerticalRulerDisplayed
For EACH ITEM in the collection: 指定为窗口或窗格显示垂直标尺。
isVerticalRulerDisplayed?: boolean;
属性值
boolean
注解
isVerticalScrollBarDisplayed
For EACH ITEM in the collection: 指定是否为窗口显示垂直滚动条。
isVerticalScrollBarDisplayed?: boolean;
属性值
boolean
注解
isVisible
left
next
对于集合中的每个项:获取打开的文档窗口集合中的下一个文档窗口。
next?: Word.Interfaces.WindowLoadOptions;
属性值
注解
previous
对于集合中的每个项:获取集合打开文档窗口中的上一个文档窗口。
previous?: Word.Interfaces.WindowLoadOptions;
属性值
注解
showSourceDocuments
对于集合中的每个项目: 指定 Microsoft Word 在比较和合并过程后如何显示源文档。
showSourceDocuments?: boolean;
属性值
boolean
注解
splitVertical
state
注意
此 API 以预览状态提供给开发者,可能根据我们收到的反馈更改。 请勿在生产环境中使用此 API。
对于集合中的每个项目: 指定文档窗口或任务窗口的状态。
state?: boolean;
属性值
boolean
注解
styleAreaWidth
top
type
usableHeight
usableWidth
对于集合中的每个项目:获取文档窗口中活动工作区域) 的宽度 ((以磅为单位)。
usableWidth?: boolean;
属性值
boolean
注解
verticalPercentScrolled
对于集合中的每个项目: 指定垂直滚动位置,以文档长度的百分比表示。
verticalPercentScrolled?: boolean;
属性值
boolean
注解
view
For EACH ITEM in the collection: 获取 View 表示窗口视图的对象。
view?: Word.Interfaces.ViewLoadOptions;
属性值
注解
width
windowNumber
For EACH ITEM in the collection: 获取表示窗口位置的整数。
windowNumber?: boolean;
属性值
boolean