ons@lists.sourceforge.net
> *Sent:* Tuesday, July 13, 2010 6:51 AM
> *Subject:* [iText-questions] PDF file does not generate from byte array
>
> Hi
>
> I have a requirement to generate a pdf file in the file system from a byte
> array. The input is an html string. The pdf that is genera
Close the doc before
file.write(baosPDF.toByteArray());
Paulo
- Original Message -
From: pa7751
To: itext-questions@lists.sourceforge.net
Sent: Tuesday, July 13, 2010 6:51 AM
Subject: [iText-questions] PDF file does not generate from byte array
Hi
I have a
Hi
I have a requirement to generate a pdf file in the file system from a byte
array. The input is an html string. The pdf that is generated is corrupted
and acrobat does not open it. Below is my code. Also attached the
file. Could anyone please suggest what is it that I am doing wrong:
*
public*