This example sets all the rows of the table to be auto-height.
TextTables tables = document.getTables(); TextTable table = tables.item(1); TextTableRows rows = table.getRows(); rows.setAutoHeight(true);
Related information
AutoHeight property