Word.Interfaces.HyperlinkData interface
An interface describing the data returned by calling hyperlink.toJSON().
Properties
| address | Specifies the address (for example, a file name or URL) of the hyperlink. |
| email |
Specifies the text string for the hyperlink's subject line. |
| is |
Returns |
| name | Returns the name of the |
| range | Returns a |
| screen |
Specifies the text that appears as a ScreenTip when the mouse pointer is positioned over the hyperlink. |
| sub |
Specifies a named location in the destination of the hyperlink. |
| target | Specifies the name of the frame or window in which to load the hyperlink. |
| text |
Specifies the hyperlink's visible text in the document. |
| type | Returns the hyperlink type. |
Property Details
address
Specifies the address (for example, a file name or URL) of the hyperlink.
address?: string;
Property Value
string
Remarks
emailSubject
Specifies the text string for the hyperlink's subject line.
emailSubject?: string;
Property Value
string
Remarks
isExtraInfoRequired
Returns true if extra information is required to resolve the hyperlink.
isExtraInfoRequired?: boolean;
Property Value
boolean
Remarks
name
Returns the name of the Hyperlink object.
name?: string;
Property Value
string
Remarks
range
Returns a Range object that represents the portion of the document that's contained within the hyperlink.
range?: Word.Interfaces.RangeData;
Property Value
Remarks
screenTip
Specifies the text that appears as a ScreenTip when the mouse pointer is positioned over the hyperlink.
screenTip?: string;
Property Value
string
Remarks
subAddress
Specifies a named location in the destination of the hyperlink.
subAddress?: string;
Property Value
string
Remarks
target
Specifies the name of the frame or window in which to load the hyperlink.
target?: string;
Property Value
string
Remarks
textToDisplay
Specifies the hyperlink's visible text in the document.
textToDisplay?: string;
Property Value
string
Remarks
type
Returns the hyperlink type.
type?: Word.HyperlinkType | "Range" | "Shape" | "InlineShape";
Property Value
Word.HyperlinkType | "Range" | "Shape" | "InlineShape"