TX Text Control .NET for Windows Forms Documentation

HypertextLinkCollection Class

An instance of the HypertextLinkCollection class contains all hypertext links in a Text Control document represented through objects of the type HypertextLink. An instance of this class can be obtained with the TextControl.HypertextLinks property. The HypertextLinkCollection class implements the IEnumerable and the ICollection interfaces. For more information see the technical article Text Fields and Hypertext Links.

Syntax

[C#] public sealed class HypertextLinkCollection: ICollection, IEnumerable
[Visual Basic] Public NotInheritable Class HypertextLinkCollection Implements ICollection Implements IEnumerable

Properties

PropertyDescription
CanAddGets a value indicating whether a new hypertext link can be inserted at the current input position.
CountGets the number of elements contained in the collection.

Methods

MethodDescription
AddInserts a new hypertext link at the current input position.
ClearRemoves all hypertext links from a Text Control document.
CopyToCopies the elements of the collection to an array, starting at a particular index.
GetEnumeratorReturns an enumerator that can be used to iterate through the collection.
GetItemGets a particular hypertext link from the collection.
RemoveRemoves a hypertext link from a Text Control document.

See Also

 
 
 

Products

Support

Downloads

Corporate

Buy Now