Rishi,

rishisahi wrote:
> But my form having tables, image etc if I need to create a new output pdf
> form then all these need to be created programmatically ? Sorry, I'm
> fairly new with iText.

The PdfStamper still copies everything needed from the PdfReader source pdf
to its own output; thus, you don't have to do any additional work.

If for some reason you are required to use the same file for input and
output, you also may first read the file into a byte[] and initialize the
PdfReader using that array. If the file contents on disk are thrown away in
the next step, that doesn't matter. Obviously, though, this is not very wise
when considering memory resources.

Regards,   Michael.
-- 
View this message in context: 
http://itext-general.2136553.n4.nabble.com/Error-pdfRandomAccessFileorArray-readFully-RandomAccessFileorRray-java-261-tp2716941p2718469.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
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