TE Edit Control Win32 / Win64 Help
Product page

TerGetTableLevel

Get the nested table level.

int TerGetTableLevel(hWnd, LineNo)
HWND hWnd;The handle of the window to be accessed
int LineNo;The line number to get the table level. Set to a negative value to specify a cell id instead of a line number.

Return Value: This function returns 0 or a positive value to indicate the table level number. It returns 0 if the line (or cell id) is at outer most table or if the line does not belong to a table.