This example gets the first table.
TextTables tables = document.getTables(); TextTable table = tables.item(1);
Related information
item method