Word.Interfaces.PageLoadOptions interface

表示文档中的一页。 Page 对象管理页面布局和内容。

注解

[ API 集:WordApiDesktop 1.2 ]

属性

$all

$all为加载选项指定将加载所有标量属性 ((例如Range.address) ,但不加载导航属性 (如 Range.format.fill.color) )。

height

获取在“页面设置”对话框中定义的纸张的高度(以磅为单位)。

index

获取页面的索引。 页索引从 1 开始,独立于用户的自定义页码。

width

获取“页面设置”对话框中定义的纸张的宽度(以磅为单位)。

属性详细信息

$all

$all为加载选项指定将加载所有标量属性 ((例如Range.address) ,但不加载导航属性 (如 Range.format.fill.color) )。

$all?: boolean;

属性值

boolean

height

获取在“页面设置”对话框中定义的纸张的高度(以磅为单位)。

height?: boolean;

属性值

boolean

注解

[ API 集:WordApiDesktop 1.2 ]

index

获取页面的索引。 页索引从 1 开始,独立于用户的自定义页码。

index?: boolean;

属性值

boolean

注解

[ API 集:WordApiDesktop 1.2 ]

width

获取“页面设置”对话框中定义的纸张的宽度(以磅为单位)。

width?: boolean;

属性值

boolean

注解

[ API 集:WordApiDesktop 1.2 ]