Xceed Words for .NET v3.0 Documentation
AddHyperlink(String,String) Method


Xceed.Document.NET Assembly > Xceed.Document.NET Namespace > Document Class > AddHyperlink Method : AddHyperlink(String,String) Method
The text as displayed by the Hyperlink.
The anchor to a Bookmark.
Adds a Hyperlink with a Bookmark anchor to a Document and creates a Paragraph which uses it.
Syntax
'Declaration
 
Public Overloads Function AddHyperlink( _
   ByVal text As String, _
   ByVal anchor As String _
) As Hyperlink
'Usage
 
Dim instance As Document
Dim text As String
Dim anchor As String
Dim value As Hyperlink
 
value = instance.AddHyperlink(text, anchor)
public Hyperlink AddHyperlink( 
   string text,
   string anchor
)

Parameters

text
The text as displayed by the Hyperlink.
anchor
The anchor to a Bookmark.

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

Reference

Document Class
Document Members
Overload List