Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

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

Signature
C#
C#
 public virtual Hyperlink InsertHyperlinkBefore(System.String url, System.String display)
Signature
vb.net
vb.net
Public Overridable Function InsertHyperlinkBefore(ByVal url As String, ByVal display As String) As Hyperlink
Parameters
Param
url
url

A String representing the url to link to.

Param
display
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
Exception
System.Exception
System.Exception

Example
Code Block
csharp
csharp
titleC#
Hyperlink link = e.InsertHyperlinkBefore("http://www.softartisans.com", "SoftArtisans");
Code Block
vb.net
vb.net
titlevb.net
Dim link As Hyperlink = e.InsertHyperlinkBefore("http://www.softartisans.com", "SoftArtisans")