TX Text Control .NET for Windows Forms

HypertextLinks Property

Property|Introduced in 12.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Server.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets a collection of all hypertext links contained in the main text of the document. The property's value is an object of the type HypertextLinkCollection.

Syntax

public HypertextLinkCollection HypertextLinks { get; }

Examples

The following example iterates through the hypertext links collection and processes each hypertext link.

foreach (HypertextLink hypertextLink in textControl.HypertextLinks)
{
    hypertextLink.DescriptiveText = "Quarterly results";
}

Limitations

Runtime only.

Read only.