Hi, I am inserting pagenumbers in my pdf file using headerfooter option of itext. Only problem is that i dont get page number '2' the count on the pdf file goes on like this '1,3,4,5...'I am using this query
HeaderFooter footer =
new HeaderFooter(
new Phrase("",new Font(Font.TIMES_NEW_ROMAN, 12, Font.NORMAL)),
true
);
Please help me rectify this.