Gets a collection of all characters contained in the main text of the document. The property value is an object of the type TextCharCollection.


public TextCharCollection TextChars { get; }
Public ReadOnly Property TextChars() As TextCharCollection


The following examples describes how to use the 'TXTextControl.MainText.TextChars' property by storing it in a variable of the type 'TXTextControl.TextCharCollection'.

TXTextControl.MainText mainText = textControl1.TextParts.GetMainText();
TXTextControl.TextCharCollection myMainTextTextCharColl = mainText.TextChars;
Dim mainText As TXTextControl.MainText = TextControl1.TextParts.GetMainText()
Dim myMainTextTextCharColl As TXTextControl.TextCharCollection = mainText.TextChars


Read only.