On 16/04/2013 3:03, Kate Phyoe wrote:
> I used itextpdf , I put my data to table and create the pdf file. 
> Therefore I didn't need to use newdocument() function to get new page 
> and it generated automatically. But I faced a problem when I want to 
> add page number. I have no idea how to add page number and which 
> function that I should use. 

In this case, you need page events, or you can create the document in 
two passes.
There are links to examples for both approaches here:
http://itextpdf.com/themes/keyword.php?id=223

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to