HypertextLinks Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Gets a collection of all hypertext links contained in the text part with the input focus. This can be the main text, a text frame or a header or footer. The property's value is an object of the type HypertextLinkCollection.
Syntax
public HypertextLinkCollection HypertextLinks { get; }Public ReadOnly Property HypertextLinks As HypertextLinkCollectionExamples
The following example iterates through the hypertext links collection and processes each hypertext link.
foreach (HypertextLink hypertextLink in textControl.HypertextLinks)
{
hypertextLink.DescriptiveText = "Quarterly results";
}For Each hypertextLink As HypertextLink In textControl.HypertextLinks
hypertextLink.DescriptiveText = "Quarterly results"
NextLimitations
Runtime only.
Read only.
See Also
Text Fields and Hypertext Links - Hypertext Links.