TE Edit Control .NET Core / .NET Framework Help
Product page

TerRowColToAbs

Convert the given line/row position to the character position.

int TerRowColToAbs( row, col)
int row;text line number. The text line number must be between 0 and TotalLines - 1.
int col;text column position. The text column position must be between 0 and line length minus 1.

Description: This function translates the text position given in line number and column number to the character position from the beginning of the file.

Return Value: The function returns the text position from the beginning of the file.