Document Solutions for Word
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / SimpleField Class / AddHyperlink Method / AddHyperlink(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
    AddHyperlink(String,String,String,String) Method
    In This Topic
    Adds a Hyperlink to the end of the current simple field.
    Syntax
    'Declaration
     
    Public Overloads Function AddHyperlink( _
       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 AddHyperlink( 
       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