Xceed Words for .NET v5.0 Documentation
Xceed.Document.NET Assembly / Xceed.Document.NET Namespace / Document Class / AddHyperlink Method / AddHyperlink(String,Uri) Method
The text as displayed by the Hyperlink.
The Uri for the Hyperlink.


In This Topic
    AddHyperlink(String,Uri) Method
    In This Topic
    Adds a Hyperlink to a Document and creates a Paragraph which uses it.
    Syntax
    'Declaration
     
    Public Overloads Function AddHyperlink( _
       ByVal text As String, _
       ByVal uri As Uri _
    ) As Hyperlink
    'Usage
     
    Dim instance As Document
    Dim text As String
    Dim uri As Uri
    Dim value As Hyperlink
     
    value = instance.AddHyperlink(text, uri)
    public Hyperlink AddHyperlink( 
       string text,
       Uri uri
    )

    Parameters

    text
    The text as displayed by the Hyperlink.
    uri
    The Uri for the Hyperlink.

    Return Value

    The newly created Hyperlink.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also