Dilan wrote:
stamper.close();
The above method closes the outputstream!
You can't add anything to the outputstream after stamper.close();
If you manage to do this somehow, the resulting PDF will be corrupt.
I was wondering, how can I add extra pages to
this open file? I have read through the TwoOnOne example, it create a new
Document() do this, how can I do in my case?
For example, if I open two input streams, for each document, input1 and
input2 as two document, how can I combine them as two pages, and send to
output stream? Please help :)
That's done with PdfCopy.
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