Visio.Interfaces.PageData interface

一个描述通过调用 page.toJSON()返回的数据的接口。

注解

使用方

属性

allShapes

页面中的所有形状,包括子形状。

comments

返回注释集合。

height

返回页面的高度。

index

页面的索引。

isBackground

页面是否为背景页。

name

页面名称。

shapes

页面中的所有顶层形状。

view

返回页面的视图。

width

返回页面的宽度。

属性详细信息

allShapes

页面中的所有形状,包括子形状。

allShapes?: Visio.Interfaces.ShapeData[];

属性值

注解

API 集:1.1

comments

返回注释集合。

comments?: Visio.Interfaces.CommentData[];

属性值

注解

API 集:1.1

height

返回页面的高度。

height?: number;

属性值

number

注解

API 集:1.1

index

页面的索引。

index?: number;

属性值

number

注解

API 集:1.1

isBackground

页面是否为背景页。

isBackground?: boolean;

属性值

boolean

注解

API 集:1.1

name

页面名称。

name?: string;

属性值

string

注解

API 集:1.1

shapes

页面中的所有顶层形状。

shapes?: Visio.Interfaces.ShapeData[];

属性值

注解

API 集:1.1

view

返回页面的视图。

view?: Visio.Interfaces.PageViewData;

属性值

注解

API 集:1.1

width

返回页面的宽度。

width?: number;

属性值

number

注解

API 集:1.1