Example: Count property

This example displays the number of the table rows.

  TextTables tables = document.getTables();
  TextTable table = tables.item(1);
  TextTableRows rows = table.getRows();
  System.out.println(rows.getCount());

Related information

Count property