Example: remove method

This example removes the second and third rows

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

Related information

remove method