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 this Position. This hyperlink will have the specified url and displayed text.

Signature
C#
C#
 public Hyperlink InsertHyperlink(System.String url, System.String display)
{signature}{signature:
}
Signature
vb.net
vb.net
Public Function InsertHyperlink(ByVal url As String, ByVal display As String) As Hyperlink
{signature}
{parameters}
{param:url}A {{String}} representing the url to link to.{param}
{param:display}A {{String}} representing the text that will be displayed in the document for this hyperlink.{param}
{returns}A {{Hyperlink}} object representing the newly created hyperlink.{returns}
{exceptions}
{exception:System.Exception}{exception}
{example}{code:csharp|title=C#}
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.InsertHyperlink("http://www.softartisans.com", "SoftArtisans");
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}

Dim link As Hyperlink = e.InsertHyperlink("http://www.softartisans.com", "SoftArtisans")
{code} {example}