Line and Character Operations

Methods

Method Description
TXTextControl.GetBaseLinePos Returns the baseline position of the specified line.
TXTextControl.GetCharFromLine Returns the position of a line's first character.
TXTextControl.GetCharRect Returns the rectangular area covered by a certain character.
TXTextControl.GetLineCount Returns the number of text lines in a Text Control.
TXTextControl.GetLineFromChar Returns the index of the line which contains the character with the specified character position.
TXTextControl.GetLineFromPoint Returns the index of the line which contains a given point.
TXTextControl.GetLineRect Returns the rectangular area covered by a line of text.