Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / HyperlinkCollection Class / Add Method / Add(String,String,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 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(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 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.string anchor,
       System.string text,
       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.
    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