ComponentOne Word for WinForms
C1.C1Word.4.5.2 Assembly / C1.C1Word Namespace / C1WordDocument Class / AddLink Method / AddLink(String,IRtfContent) Method
The target object (URL, bookmark ...) as string.
The drawing content (paragraph) object.

In This Topic
    AddLink(String,IRtfContent) Method
    In This Topic
    Add hyperlink into this document in next position.
    Syntax
    'Declaration
     
    Public Overloads Function AddLink( _
       ByVal target As System.String, _
       ByVal content As IRtfContent _
    ) As RtfHyperlink
    public RtfHyperlink AddLink( 
       System.string target,
       IRtfContent content
    )

    Parameters

    target
    The target object (URL, bookmark ...) as string.
    content
    The drawing content (paragraph) object.

    Return Value

    The Word/RTF hyperlink object.
    See Also