Hi,
I am trying to replace my old code for adding footer to a page to make it compatible with the new version(5.0.1), which does not support HeaderFooter class anymore. My existing code looks like this:
HeaderFooter footer = new HeaderFooter(new Phrase("page: "), true);
footer.setBorder(Rectangle.NO_BORDER);
footer.setAlignment(2);
document.setFooter(footer);
I am new to iText and not aware of the new(ver 5) way of doing this. Please advise. Thanks.
I am trying to replace my old code for adding footer to a page to make it compatible with the new version(5.0.1), which does not support HeaderFooter class anymore. My existing code looks like this:
HeaderFooter footer = new HeaderFooter(new Phrase("page: "), true);
footer.setBorder(Rectangle.NO_BORDER);
footer.setAlignment(2);
document.setFooter(footer);
I am new to iText and not aware of the new(ver 5) way of doing this. Please advise. Thanks.