Add a PDFPTable to bottom of page in iText
问题 I'm trying to add a table as a footer containing all the copyright text, page number etc. But I can't find any supporting method that'll accept a PdfPTable For a phrase there is code like: ColumnText.showTextAligned(writer.getDirectContent(), Element.ALIGN_CENTER, new Phrase( String.format("%d", document.getPageNumber())), (document.getPageSize().getLeft() + document.getPageSize().getRight())/2, document.getPageSize().getBottom() + 18, 0); 回答1: The PdfPTable class has a method