[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.HyperlinkCollection.Insert

Insert Method

Insert(InsertLocation)

Inserts a Hyperlink into this collection at a specified location.

Declaration
public Hyperlink Insert(InsertLocation location)
Public Function Insert(location As InsertLocation) As Hyperlink
Parameters
Type Name Description
InsertLocation location

The target InsertLocation for the insertion.

Returns
Type Description
Hyperlink

The inserted Hyperlink.

Insert(string, string, InsertLocation, string, string)

Inserts a Hyperlink into this collection at a specified location.

Declaration
public Hyperlink Insert(string anchor, string text, InsertLocation location, string screenTip = null, string target = null)
Public Function Insert(anchor As String, text As String, location As InsertLocation, Optional screenTip As String = Nothing, Optional target As String = Nothing) As Hyperlink
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.

InsertLocation location

The target InsertLocation for the insertion.

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 inserted Hyperlink.

Insert(Uri, string, string, InsertLocation, string, string)

Inserts a Hyperlink into this collection at a specified location.

Declaration
public Hyperlink Insert(Uri address, string anchor, string text, InsertLocation location, string screenTip = null, string target = null)
Public Function Insert(address As Uri, anchor As String, text As String, location As InsertLocation, Optional screenTip As String = Nothing, Optional target As String = Nothing) As Hyperlink
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.

InsertLocation location

The target InsertLocation for the insertion.

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 inserted Hyperlink.