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"