Document Solutions for Word
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / HyperlinkCollection Class / Insert Method / Insert(Uri,String,String,InsertLocation,String,String) Method
The address for the specified link. The address can be an e-mail address, an Internet address, or a file name.
The name of a bookmark in the current document which shall be the target of this hyperlink.
The display text of the specified hyperlink.
The target InsertLocation for the insertion.
The text that appears as a ScreenTip when the mouse pointer is positioned over the specified hyperlink.
The name of the frame or window in which you want to load the specified hyperlink.

In This Topic
    Insert(Uri,String,String,InsertLocation,String,String) Method
    In This Topic
    Inserts a Hyperlink into this collection at a specified location.
    Syntax
    'Declaration
     
    Public Overloads Function Insert( _
       ByVal address As System.Uri, _
       ByVal anchor As System.String, _
       ByVal text As System.String, _
       ByVal location As InsertLocation, _
       Optional ByVal screenTip As System.String, _
       Optional ByVal target As System.String _
    ) As Hyperlink
    public Hyperlink Insert( 
       System.Uri address,
       System.string anchor,
       System.string text,
       InsertLocation location,
       System.string screenTip,
       System.string target
    )

    Parameters

    address
    The address for the specified link. The address can be an e-mail address, an Internet address, or a file name.
    anchor
    The name of a bookmark in the current document which shall be the target of this hyperlink.
    text
    The display text of the specified hyperlink.
    location
    The target InsertLocation for the insertion.
    screenTip
    The text that appears as a ScreenTip when the mouse pointer is positioned over the specified hyperlink.
    target
    The name of the frame or window in which you want to load the specified hyperlink.

    Return Value

    The inserted Hyperlink.
    See Also