TE Edit Control Java / HTML-JavaScript Help
Product page

TerGetTablePos

Get the current table position.

boolean TerGetTablePos( out TableNo, out RowNo, out ColNo)
boolean TerGetTablePos2( out TableNo, out RowNo, out ColNo, ParentCell)
int ParentCell; The parent cell id to locate a nested table. Set to 0 for default.

Upon a successful return from this method, the following information can be retrieved by using TerGetOutInt method:

int TableNo;

The current table number. The tables are assigned a sequential number starting with 0 from the beginning of the document.

Upon a successful return from this method, the table number can be retrieve as following:

TableNo=tej.TerGetOutInt("TableNo")
int RowNo;

The current table row number. The table rows are assigned a sequential number starting with 0 from the beginning of the current table.

Upon a successful return from this method, the row number can be retrieve as following:

RowNo=tej.TerGetOutInt("RowNo")
int ColNo;

The current table column number. The table columns are assigned a sequential number starting with 0 from the beginning of the current table row.

Upon a successful return from this method, the column number can be retrieve as following:

ColNo=tej.TerGetOutInt("ColNo")

Return Value: This function returns true when successful. It returns a false value if the cursor is not positioned inside a table.