I am using iText 1.2. I am try to print some pages of text with page number
on the footer. The page numbers appear in all pages except the first page.
Anyone got any idea? Any help is appreciated.
Here is the code fragment,
document.open();
Font footerFont = FontFactory.getFont(FontFactory.HELVETICA, 8.0F,
Font.NORMAL);
HeaderFooter footer = new HeaderFooter(new Phrase("Page ", footerFont),
true);
footer.setBorder(HeaderFooter.NO_BORDER);
footer.setAlignment(HeaderFooter.ALIGN_CENTER);
document.setPageCount(1);
document.setFooter(footer);
-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions