Excel.Interfaces.WindowCollectionLoadOptions interface
表示 Window 对象的集合。
属性
| $all | 指定加载选项将 |
| active |
对于集合中的每个项: 指定窗口中的活动单元格。 |
| active |
For EACH ITEM in the collection: 指定窗口中的活动窗格。 |
| active |
对于集合中的每个项:指定窗口中的活动工作表。 |
| auto |
对于集合中的每个项: 指定是否在窗口中启用自动筛选日期分组。 |
| enable |
For EACH ITEM in the collection: 指定是否启用窗口大小调整。 |
| freeze |
For EACH ITEM in the collection: 指定窗口中的窗格是否冻结。 |
| height | 对于集合中的每个项目: 指定窗口的高度。 |
| index | For EACH ITEM in the collection: 获取窗口的索引。 |
| is |
对于集合中的每个项目: 指定窗口是否可见。 |
| left | 对于集合中的每个项目: 指定从计算机屏幕左边缘到窗口左边缘的距离(以磅为单位)。 |
| name | For EACH ITEM in the collection: 指定窗口的名称。 |
| range |
For EACH ITEM in the collection: 获取窗口中的范围选择。 |
| scroll |
对于集合中的每个项目: 指定窗口的滚动列。 |
| scroll |
对于集合中的每个项目: 指定窗口的滚动行。 |
| show |
对于集合中的每个项目:指定公式是否显示在窗口中。 |
| show |
对于集合中的每个项目: 指定是否在窗口中显示网格线。 |
| show |
For EACH ITEM in the collection: 指定标题是否显示在窗口中。 |
| show |
For EACH ITEM in the collection: 指定是否在窗口中显示水平滚动条。 |
| show |
For EACH ITEM in the collection: 指定窗口中是否显示大纲。 |
| show |
For EACH ITEM in the collection: 获取窗口从右到左的布局值。 True 表示窗口使用从右到左的布局,false 表示窗口使用的是从左到右的布局。 |
| show |
For EACH ITEM in the collection: 指定标尺是否显示在窗口中。 |
| show |
For EACH ITEM in the collection: 指定窗口中是否显示垂直滚动条。 |
| show |
For EACH ITEM in the collection: 指定窗口中是否显示空格。 |
| show |
对于集合中的每个项目: 指定窗口中是否显示工作簿选项卡。 |
| show |
For EACH ITEM in the collection: 指定窗口中是否显示零。 |
| split | For EACH ITEM in the collection: 指定窗口的拆分状态。 |
| split |
For EACH ITEM in the collection: 指定窗口的拆分列。 |
| split |
对于集合中的每个项目: 指定窗口的水平拆分。 |
| split |
对于集合中的每个项: 指定窗口的拆分行。 |
| split |
对于集合中的每个项目: 指定窗口的垂直拆分。 |
| tab |
对于集合中的每个项: 指定窗口的制表符比例。 |
| top | 对于集合中的每个项: 指定从窗口的顶部边缘到可用区域顶部边缘的距离(以磅为单位), (菜单、停靠在顶部的任何工具栏以及编辑栏) 下方。 |
| type | 对于集合中的每个项目: 指定窗口的类型。 |
| usable |
对于集合中的每个项目: 指定窗口的可用高度。 |
| usable |
对于集合中的每个项目: 指定窗口的可用宽度。 |
| view | 对于集合中的每个项目: 指定窗口的视图。 |
| visible |
对于集合中的每个项目: 获取窗口的可见范围。 |
| width | For EACH ITEM in the collection: 指定窗口的显示宽度。 |
| window |
对于集合中的每个项目: 指定窗口编号。 |
| window |
For EACH ITEM in the collection: 指定窗口状态。 |
| zoom | 对于集合中的每个项目: 指定表示窗口显示大小的整数值。 它可以设置为 10 到 400 之间的百分比。 |
属性详细信息
$all
指定加载选项将 $all 加载所有标量属性 ((如 Range.address) ),但不会加载导航属性 ((如 Range.format.fill.color) )。
$all?: boolean;
属性值
boolean
activeCell
对于集合中的每个项: 指定窗口中的活动单元格。
activeCell?: Excel.Interfaces.RangeLoadOptions;
属性值
注解
activePane
For EACH ITEM in the collection: 指定窗口中的活动窗格。
activePane?: Excel.Interfaces.PaneLoadOptions;
属性值
注解
activeWorksheet
对于集合中的每个项:指定窗口中的活动工作表。
activeWorksheet?: Excel.Interfaces.WorksheetLoadOptions;
属性值
注解
autoFilterDateGroupingEnabled
对于集合中的每个项: 指定是否在窗口中启用自动筛选日期分组。
autoFilterDateGroupingEnabled?: boolean;
属性值
boolean
注解
enableResize
For EACH ITEM in the collection: 指定是否启用窗口大小调整。
enableResize?: boolean;
属性值
boolean
注解
freezePanes
For EACH ITEM in the collection: 指定窗口中的窗格是否冻结。
freezePanes?: boolean;
属性值
boolean
注解
height
index
isVisible
left
name
rangeSelection
注意
此 API 以预览状态提供给开发者,可能根据我们收到的反馈更改。 请勿在生产环境中使用此 API。
For EACH ITEM in the collection: 获取窗口中的范围选择。
rangeSelection?: Excel.Interfaces.RangeAreasLoadOptions;
属性值
注解
scrollColumn
scrollRow
showFormulas
showGridlines
showHeadings
For EACH ITEM in the collection: 指定标题是否显示在窗口中。
showHeadings?: boolean;
属性值
boolean
注解
showHorizontalScrollBar
For EACH ITEM in the collection: 指定是否在窗口中显示水平滚动条。
showHorizontalScrollBar?: boolean;
属性值
boolean
注解
showOutline
For EACH ITEM in the collection: 指定窗口中是否显示大纲。
showOutline?: boolean;
属性值
boolean
注解
showRightToLeft
For EACH ITEM in the collection: 获取窗口从右到左的布局值。 True 表示窗口使用从右到左的布局,false 表示窗口使用的是从左到右的布局。
showRightToLeft?: boolean;
属性值
boolean
注解
showRuler
For EACH ITEM in the collection: 指定标尺是否显示在窗口中。
showRuler?: boolean;
属性值
boolean
注解
showVerticalScrollBar
For EACH ITEM in the collection: 指定窗口中是否显示垂直滚动条。
showVerticalScrollBar?: boolean;
属性值
boolean
注解
showWhitespace
For EACH ITEM in the collection: 指定窗口中是否显示空格。
showWhitespace?: boolean;
属性值
boolean
注解
showWorkbookTabs
showZeros
For EACH ITEM in the collection: 指定窗口中是否显示零。
showZeros?: boolean;
属性值
boolean
注解
split
For EACH ITEM in the collection: 指定窗口的拆分状态。
split?: boolean;
属性值
boolean
注解
splitColumn
For EACH ITEM in the collection: 指定窗口的拆分列。
splitColumn?: boolean;
属性值
boolean
注解
splitHorizontal
splitRow
splitVertical
tabRatio
top
对于集合中的每个项: 指定从窗口的顶部边缘到可用区域顶部边缘的距离(以磅为单位), (菜单、停靠在顶部的任何工具栏以及编辑栏) 下方。
top?: boolean;
属性值
boolean
注解
type
usableHeight
usableWidth
view
visibleRange
对于集合中的每个项目: 获取窗口的可见范围。
visibleRange?: Excel.Interfaces.RangeLoadOptions;
属性值
注解
width
For EACH ITEM in the collection: 指定窗口的显示宽度。
width?: boolean;
属性值
boolean
注解
windowNumber
windowState
For EACH ITEM in the collection: 指定窗口状态。
windowState?: boolean;
属性值
boolean
注解
zoom
对于集合中的每个项目: 指定表示窗口显示大小的整数值。 它可以设置为 10 到 400 之间的百分比。
zoom?: boolean;
属性值
boolean