[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.Paragraph.AddHyperlink

AddHyperlink Method

Adds a Hyperlink to the end of the paragraph.

Declaration
public Hyperlink AddHyperlink()
Returns
Type Description
Hyperlink

The added Hyperlink.

Adds a Hyperlink to the end of the paragraph.

Declaration
public Hyperlink AddHyperlink(string anchor, string text, string screenTip = null, string target = null)
Parameters
Type Name Description
string anchor

The name of a bookmark in the current document which shall be the target of this hyperlink.

string text

The display text of the specified hyperlink.

string screenTip

The text that appears as a ScreenTip when the mouse pointer is positioned over the specified hyperlink.

string target

The name of the frame or window in which you want to load the specified hyperlink.

Returns
Type Description
Hyperlink

The added Hyperlink.

Adds a Hyperlink to the end of the paragraph.

Declaration
public Hyperlink AddHyperlink(Uri address, string anchor, string text, string screenTip = null, string target = null)
Parameters
Type Name Description
Uri address

The address for the specified link. The address can be an e-mail address, an Internet address, or a file name.

string anchor

The name of a bookmark in the current document which shall be the target of this hyperlink.

string text

The display text of the specified hyperlink.

string screenTip

The text that appears as a ScreenTip when the mouse pointer is positioned over the specified hyperlink.

string target

The name of the frame or window in which you want to load the specified hyperlink.

Returns
Type Description
Hyperlink

The added Hyperlink.