Version

MakeHyperlink Method

Makes the content in the specified span a hyperlink.
Syntax
'Declaration
 
Public Sub MakeHyperlink( _
   ByVal span As DocumentSpan, _
   ByVal targetUri As String, _
   ByRef error As String, _
   ByVal tooltip As String _
) 
public void MakeHyperlink( 
   DocumentSpan span,
   string targetUri,
   out string error,
   string tooltip
)

Parameters

span
Content in this span will be made a hyperlink.
targetUri
Link's target URI.
error
If there's an error, this out parameter is set to the error information.
tooltip
Tool-tip to display when the user hovers mouse over the link.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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