Hi there,

I am attempting to use iText to concatenate several pdfs and then add a
common footer (with page number, etc.) to the resulting combined pdf.
However I don't want the footer to be over the top of the original content,
so I'd like to shrink the content slightly and then add the footer. Having
done a search on the list, I discovered an answer to a similar question
where an answer was given as follows:

"In this case, you'll need PdfReader and PdfStamper. With PdfReader, you'll
loop over all the pages and change the page boundaries; then with
PdfStamper, you add the new content so that it's outside the original
boundaries, but inside the new ones."

Is it possible you could please give an example of some code of how to do
this? I am not experienced with iText and I couldn't find any obvious
examples. And will it matter if the original PDFs had differing page sizes?

Thanks,
James Beard.



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to