TX Text Control .NET for Windows Forms Documentation

DocumentLinkCollection Class

An instance of the DocumentLinkCollection class contains all links in a Text Control document that point to targets in the same document. An instance of this class can be obtained with the TextControl.DocumentLinks property. The DocumentLinkCollection class implements the IEnumerable and the ICollection interfaces. Document links are represented through the DocumentLink class. For more information see the technical article Text Fields and Hypertext Links.

Syntax

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

Properties

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

Methods

MethodDescription
AddInserts a new document link at the current input position.
ClearRemoves all document 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 document link from the collection.
RemoveRemoves a document link from a Text Control document.

See Also

 
 
 

Products

Support

Downloads

Corporate

Buy Now