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.TXTextControl.PageCount Returns the number of pages, the document contains.
TXTextControl.TXTextControl.ParagraphCount Returns the number of paragraphs, the document contains.
TXTextControl.TXTextControl.SupportedFonts This property returns a string specifying the names of all available fonts.

Methods

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