Word.Interfaces.InlinePictureUpdateData interface

用于更新对象上 InlinePicture 的数据的接口,用于 inlinePicture.set({ ... }).

注解

使用方

属性

altTextDescription

指定表示与内联图像关联的替代文本的字符串。

altTextTitle

指定包含内联图像标题的字符串。

height

指定一个数字,用于描述内联图像的高度。

hyperlink

指定图像上的超链接。 使用“#”将地址部分与可选位置部分分隔。

lockAspectRatio

指定调整内联图像大小时是否保留其原始比例。

width

指定一个数字,用于描述内联图像的宽度。

属性详细信息

altTextDescription

指定表示与内联图像关联的替代文本的字符串。

altTextDescription?: string;

属性值

string

注解

API 集:WordApi 1.1

altTextTitle

指定包含内联图像标题的字符串。

altTextTitle?: string;

属性值

string

注解

API 集:WordApi 1.1

height

指定一个数字,用于描述内联图像的高度。

height?: number;

属性值

number

注解

API 集:WordApi 1.1

指定图像上的超链接。 使用“#”将地址部分与可选位置部分分隔。

hyperlink?: string;

属性值

string

注解

API 集:WordApi 1.1

lockAspectRatio

指定调整内联图像大小时是否保留其原始比例。

lockAspectRatio?: boolean;

属性值

boolean

注解

API 集:WordApi 1.1

width

指定一个数字,用于描述内联图像的宽度。

width?: number;

属性值

number

注解

API 集:WordApi 1.1