Line and Character Operations

Classes

Class Description
TXTextControl.Line An instance of the Line class represents a single line in a Text Control document.
TXTextControl.LineCollection An instance of the LineCollection class contains all text lines in a Text Control document or part of the document represented through objects of the type Line.
TXTextControl.TextChar An instance of the TextChar class represents a single character in a Text Control document.
TXTextControl.TextCharCollection 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.

Methods

Method Description
TXTextControl.Line.Save Saves the line's text with the specified format.
TXTextControl.LineCollection.CopyTo Copies the elements of the collection to an array, starting at a particular index.
TXTextControl.LineCollection.GetEnumerator Returns an enumerator that can be used to iterate through the collection.
TXTextControl.LineCollection.GetItem Gets a particular line from the collection.
TXTextControl.TextCharCollection.Add Adds a character to the document.
TXTextControl.TextCharCollection.CopyTo Copies the elements of the collection to an array, starting at a particular index.
TXTextControl.TextCharCollection.GetEnumerator Returns an enumerator that can be used to iterate through the collection.
TXTextControl.TextCharCollection.GetItem Gets a particular character from the collection specified through a certain geometrical position.
TXTextControl.TextCharCollection.Remove Removes a character from a Text Control document.

Properties

Property Description
TXTextControl.Line.Baseline Gets the line's baseline position.
TXTextControl.Line.Length Gets the number of characters in the line including the break character.
TXTextControl.Line.Number Gets the line's number.
TXTextControl.Line.Page Gets the number of the page to which the line belongs.
TXTextControl.Line.Start Gets the number (one-based) of the first character in the line.
TXTextControl.Line.Text Gets the line's text.
TXTextControl.Line.TextBounds Gets the bounding rectangle of the text belonging to the line.
TXTextControl.LineCollection.Count Gets the number of elements contained in the collection.
TXTextControl.LineCollection.Item Gets the line from the collection.
TXTextControl.ServerTextControl.Lines Gets a collection of all lines contained in the main text of the document.
TXTextControl.ServerTextControl.TextChars Gets a collection of all characters contained in the main text of the document.
TXTextControl.TextChar.Bounds Gets the bounding rectangle of the character.
TXTextControl.TextChar.Char Gets the value of the character.
TXTextControl.TextChar.Number Gets the character's number.
TXTextControl.TextCharCollection.Count Gets the number of elements contained in the collection.
TXTextControl.TextCharCollection.Item Gets the character from the collection.