shajahan shaik wrote:
Hi,
is it possible to edit the existing PDF. In the iText examples each
program will create the new PDF. Is it possible to modify the existing
PDF. if so please send me the simple example
Read the existing file into a byte array.
Use this byte[] to construct your PdfReader object.
Then create a PdfStamper object with a FileOutputStream
that writes a file to the existing path.
I think you'll find a code sample on the mailing list
(I don't think it's older than a month, but I don't have
the time to look it up rightnow).
br,
Bruno
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions