TX Text Control ActiveX Documentation

TXTextControl.GetCharFromLine Method

Returns the position of a line's first character. The first character's position is the number of characters from the beginning of the text to the beginning of the specified line. The first character's position of the first line is zero.

Syntax

TXTextControl.GetCharFromLine Line
ParameterDescription
Line

Specifies the index of the line whose character position is returned. The index of the first line is zero.

Return Value

The method returns the requested character position. It is -1 if an error has occurred or if the specified line does not exist.

Data Types

Line:Long
Return value:Long

See Also

 
 
 

Products

Support

Downloads

Corporate

Buy Now