Wanjie Zhang wrote:
> I have a PDF template(3_checks_body.pdf) that defined 1 page with 
> header/footer and fields to be annotated.

This is like "Company stationery".
It is to be used as the "background" for every page in the document.

> Maybe this is not a good way to do that.

You can do it with PdfStamper, but then you have to add the "stationery"
as the background for every page you insert. I don't see you doing that
in your code.

>  From the book,

I don't know if you're talking about the first or the second edition,
but search for "Stationery" and you'll find an example involving
PdfWriter, PdfImportedPage and page events that does exactly what you
need.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to