Hello there,
I need to insert some images (into right margin) in each pages of my PDF
documents ...
I don't really know JAVA language, but i think this would work ...
but ... where the page is noted ??
PdfReader reader = new PdfReader("HelloWorld.pdf");
PdfStamper stamper = new PdfStamper(reader,new
FileOutputStream("HelloWorldStamped.pdf"));
Image img = Image.getInstance("watermark.jpg");
img.setAbsolutePosition(200, 400);
stamper.addImage(img);
stamper.close();
Excuse my english ,
Thanks for your answers
--
View this message in context:
http://www.nabble.com/Insert-Image-at-page-x-tp16271928p16271928.html
Sent from the iText - General mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/