This example displays the row number of the second table of the document.
TextTables tables = document.getTables(); TextTable table = tables.item(2); TextTableRows rows = table.getRows(); System.out.println(rows.getCount());
Related information
Rows property