Hi Marcus, On 01/07/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hello, > > I generate a PDF document with lots of data. > > Here is some sample code:
[snip] > How can I get the page count of the final document? During your (successful I hope) carreer as a Java developer, you'll come across, one day or another, this webpage : http://www.catb.org/~esr/faqs/smart-questions.html May I suggest you read "Before you ask" chapter, that can be found here : http://www.catb.org/~esr/faqs/smart-questions.html#before What magical word could one read? "Google" !!! Hey, let's try it! Here it goes : http://www.google.com/search?hl=en&q=itext+page+x+of+y&btnG=Google+Search The very first result leads you straight to the right page in the iText online tutorial. Don't get me wrong, I do not mean to bash you. I just want to make you understand that not googling a bit before posting to the mailing has been a waste of time for everybody : - first of all for you since you had to put up and explain quite clearly what your problem was (and believe me, that's an effort that deserves to be mentionned, since most newbies here don't even take time to copy the relevent pieces of code in their posts) - second, for me, for the time I needed to write down this response. I'm not a native english speaker, just like you, so it requires more time than in my mother tongue - and finally, for anyone else who took the time to read your question (and subsequently my answer) Anyway, I hope this helped you solve your issue, and believe that we will be glad to answer any further question regarding programming with iText, but please try to do a bit of research by yourself before. Best regards, alexis ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Do you like iText? Buy the iText book: http://www.1t3xt.com/docs/book.php Or leave a tip: https://tipit.to/itexttipjar
