HypertextLink Constructor
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
Initializes a new instance of the HypertextLink class.
Syntax
public HypertextLink(string text, string target);Public Sub New(text As String, target As String)Parameters
| Parameter | Description |
|---|---|
| text | Specifies the visible text of the hypertext link. |
| target | Specifies a string specifying to where the hypertext link points. |
Examples
The following example adds and configures a link to the product documentation.
HypertextLink hypertextLink = new("TX Text Control documentation", "https://docs.textcontrol.com/");
textControl.HypertextLinks.Add(hypertextLink);Dim hypertextLink As New HypertextLink("TX Text Control documentation", "https://docs.textcontrol.com/")
textControl.HypertextLinks.Add(hypertextLink)