New Properties, Methods and Events

In TX Text Control 22.0 the following new properties, methods and events have been added:

Properties

Property Description
TXTextControl.PageCount Returns the number of pages, the document contains.
TXTextControl.ParagraphCount Returns the number of paragraphs, the document contains.
TXTextControl.SupportedFonts This property returns a string specifying the names of all available fonts.

Methods

Method Description
TXTextControl.Append Appends text in a certain format from a file and inserts it at the end of the current document.
TXTextControl.AppendFromMemory Appends text in a certain format from a buffer and inserts it at the end of the current document.
TXTextControl.GetCaretRect Returns the rectangular area covered by the caret which indicates the current text input position.
TXTextControl.GetCharRect Returns the rectangular area covered by a certain character.
TXTextControl.ParagraphSelect This method can be used to select the specified paragraph.