Word.HyperlinkAddOptions interface
Specifies the options for adding to a Word.HyperlinkCollection object.
Remarks
Properties
| address | If provided, specifies the address (e.g., URL or file path) of the hyperlink. |
| screen |
If provided, specifies the text that appears as a tooltip. |
| sub |
If provided, specifies the location within the file or document. |
| target | If provided, specifies the name of the frame or window in which to load the hyperlink. |
| text |
If provided, specifies the visible text of the hyperlink. |
Property Details
address
If provided, specifies the address (e.g., URL or file path) of the hyperlink.
address?: string;
Property Value
string
Remarks
screenTip
If provided, specifies the text that appears as a tooltip.
screenTip?: string;
Property Value
string
Remarks
subAddress
If provided, specifies the location within the file or document.
subAddress?: string;
Property Value
string
Remarks
target
If provided, specifies the name of the frame or window in which to load the hyperlink.
target?: string;
Property Value
string
Remarks
textToDisplay
If provided, specifies the visible text of the hyperlink.
textToDisplay?: string;
Property Value
string