TX Text Control .NET for Windows Forms Documentation

TextCharCollection Class

An instance of the TextCharCollection class contains all characters in a Text Control document or part of the document represented through objects of the type TextChar. An instance of this class can be obtained with the TextControl.TextChars, HeaderFooter.TextChars or TextFrame.TextChars property. The TextCharCollection class implements the IEnumerable and the ICollection interfaces.

Introduced: 10.1.

Syntax

[C#] public class TextCharCollection : ICollection, IEnumerable
[Visual Basic] Public Class TextCharCollection Implements ICollection Implements IEnumerable

Properties

PropertyDescription
CountGets the number of elements contained in the collection.

Methods

MethodDescription
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 character from the collection specified through a certain geometrical position.
ItemGets the character from the collection.

See Also

 
 
 

Products

Support

Downloads

Corporate

Buy Now