Example: AutoHeight property

This example sets the second row of the table to be auto-height.

  TextTables tables = document.getTables();
  TextTable table = tables.item(1);
  TextTableRows rows = table.getRows();
  TextTableRow row = rows.item(2);
  row.setAutoHeight(true);

Related information

AutoHeight property