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);

Thanks.
-- 
View this message in context: 
http://old.nabble.com/Add-Footer-with-page-number-Version%285.0.1%29-tp27555204p27555204.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to