The HypertextLink class represents a hypertext link in a Text Control document that points to a target outside of the document. For more information see the technical article Text Fields and Hypertext Links.

Syntax

public class HypertextLink : TextField
Public Class HypertextLink
  Inherits TextField

Examples

The following example shows an object, i.e. Mylink, of HypertextLink class and inserts the hyperlink into the document using Add method.

TXTextControl.HypertextLink MyLink = 
new TXTextControl.HypertextLink("Text Control Web Site", "http://www.textcontrol.com");
textControl1.HypertextLinks.Add(MyLink);
Dim MyLink As TXTextControl.HypertextLink = 
New TXTextControl.HypertextLink("Text Control Web Site", "http://www.textcontrol.com"
textControl1.HypertextLinks.Add(MyLink)

Constructors

Constructor Description
HypertextLink Initializes a new instance of the HypertextLink class.

Properties

Property Description
Target Gets or sets a string that specifies the target to where the hypertext link points.