Documents for Word, .NET Edition
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / HyperlinkCollection Class / Add Method / Add(Uri,String,String,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 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
    Add(Uri,String,String,String,String) Method
    In This Topic
    Adds a Hyperlink to this collection at the InsertLocation.End location.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal address As System.Uri, _
       ByVal anchor As System.String, _
       ByVal text As System.String, _
       Optional ByVal screenTip As System.String, _
       Optional ByVal target As System.String _
    ) As Hyperlink
    public Hyperlink Add( 
       System.Uri address,
       System.string anchor,
       System.string text,
       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.
    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 added Hyperlink.
    See Also