|
Hi All,
My table contains an image and some text that needs to be displayed as Logo of company at the end,bottom or foot of page only. Can anyone please let me know how I can set table as footer of last page.
I tried doing this by finding dimension. But it didn't help me.
Table footertable = helper.getFooterTable(path); Dimension footdimension = footertable.getDimension();
if (!writer.fitsPage(footertable)) { document.newPage(); } PdfContentByte cb = writer.getDirectContent(); cb.moveTo(document.left(), (document.bottom()- footdimension.height));
document.add(footertable);
I tried even adding above code to this method onCloseDocument(PdfWriter writer, Document document)
Can anyone please suggest me ?
Thanks, Suneetha
|
- Re: [iText-questions] add footer table only at th... Kurakula, Suneetha (HCF)
