Word.Interfaces.HyperlinkData interface
一个接口,用于描述通过调用 hyperlink.toJSON()返回的数据。
属性
| address | 指定地址 (例如,超链接的文件名或 URL) 。 |
| email |
指定超链接的主题行的文本字符串。 |
| is |
|
| name | 返回对象的名称 |
| range | 返回一个 |
| screen |
指定当鼠标指针位于超链接上时显示为屏幕提示的文本。 |
| sub |
指定超链接目标中的命名位置。 |
| target | 指定要在其中加载超链接的框架或窗口的名称。 |
| text |
指定文档中超链接的可见文本。 |
| type | 返回超链接的类型。 |
属性详细信息
address
emailSubject
isExtraInfoRequired
name
range
返回一个 Range 对象,该对象表示超链接中包含的文档部分。
range?: Word.Interfaces.RangeData;
属性值
注解
screenTip
subAddress
target
textToDisplay
type
返回超链接的类型。
type?: Word.HyperlinkType | "Range" | "Shape" | "InlineShape";
属性值
Word.HyperlinkType | "Range" | "Shape" | "InlineShape"