Skip to end of metadata
Go to start of metadata

Description

Creates and returns a Hyperlink at this Position. This hyperlink will have the specified url and displayed text.

C#
 public Hyperlink InsertHyperlink(System.String url, System.String display)
vb.net
Public Function InsertHyperlink(ByVal url As String, ByVal display As String) As Hyperlink

Parameters

url
A String representing the url to link to.
display
A String representing the text that will be displayed in the document for this hyperlink.

Returns

A Hyperlink object representing the newly created hyperlink.

Exceptions

System.Exception

Examples

C#
Hyperlink link = e.InsertHyperlink("http://www.softartisans.com", "SoftArtisans");
vb.net
Dim link As Hyperlink = e.InsertHyperlink("http://www.softartisans.com", "SoftArtisans")
  • No labels