Documents for Word, .NET Edition
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / HyperlinkCollection Class / Insert Method / Insert(String,String,InsertLocation,String,String) Method
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(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 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.string anchor,
       System.string text,
       InsertLocation location,
       System.string screenTip,
       System.string target
    )

    Parameters

    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