Word.DocumentFollowHyperlinkOptions 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.
Provides configuration options for the Document.followHyperlink method.
Remarks
Properties
add |
If provided, specifies whether to add the link to the browsing history. The default value is |
address | If provided, specifies the hyperlink address to follow. The default value is an empty string. |
extra |
If provided, specifies additional information to pass with the request. The default value is an empty string. |
header |
If provided, specifies header information for the HTTP request. The default value is an empty string. |
http |
If provided, specifies the HTTP method to use for the request. The default value is "GET". |
new |
If provided, specifies whether to open the link in a new window. The default value is |
sub |
If provided, specifies the sub-address within the document. The default value is an empty string. |
Property Details
addHistory
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.
If provided, specifies whether to add the link to the browsing history. The default value is true
.
addHistory?: boolean;
Property Value
boolean
Remarks
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.
If provided, specifies the hyperlink address to follow. The default value is an empty string.
address?: string;
Property Value
string
Remarks
extraInfo
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.
If provided, specifies additional information to pass with the request. The default value is an empty string.
extraInfo?: string;
Property Value
string
Remarks
headerInfo
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.
If provided, specifies header information for the HTTP request. The default value is an empty string.
headerInfo?: string;
Property Value
string
Remarks
httpMethod
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.
If provided, specifies the HTTP method to use for the request. The default value is "GET".
httpMethod?: string;
Property Value
string
Remarks
newWindow
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.
If provided, specifies whether to open the link in a new window. The default value is false
.
newWindow?: 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.
If provided, specifies the sub-address within the document. The default value is an empty string.
subAddress?: string;
Property Value
string