Word.Interfaces.HyperlinkLoadOptions interface
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Represents a hyperlink in a Word document.
Remarks
Properties
$all | Specifying |
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
$all
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifying $all
for the load options loads all the scalar properties (such as Range.address
) but not the navigational properties (such as Range.format.fill.color
).
$all?: boolean;
Property Value
boolean
address
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the address (for example, a file name or URL) of the hyperlink.
address?: boolean;
Property Value
boolean
Remarks
emailSubject
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the text string for the hyperlink's subject line.
emailSubject?: boolean;
Property Value
boolean
Remarks
isExtraInfoRequired
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Returns true
if extra information is required to resolve the hyperlink.
isExtraInfoRequired?: boolean;
Property Value
boolean
Remarks
name
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Returns the name of the Hyperlink
object.
name?: boolean;
Property Value
boolean
Remarks
range
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Returns a Range
object that represents the portion of the document that's contained within the hyperlink.
range?: Word.Interfaces.RangeLoadOptions;
Property Value
Remarks
screenTip
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the text that appears as a ScreenTip when the mouse pointer is positioned over the hyperlink.
screenTip?: boolean;
Property Value
boolean
Remarks
subAddress
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies a named location in the destination of the hyperlink.
subAddress?: boolean;
Property Value
boolean
Remarks
target
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the name of the frame or window in which to load the hyperlink.
target?: boolean;
Property Value
boolean
Remarks
textToDisplay
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the hyperlink's visible text in the document.
textToDisplay?: boolean;
Property Value
boolean
Remarks
type
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Returns the hyperlink type.
type?: boolean;
Property Value
boolean