Thanks Paulo,

Your suggestions works like a charm!

Updated VB.Net code:

[code]
...
Dim output As New System.IO.FileStream(sOutputFileName, IO.FileMode.Create)
Dim b As Byte() = ms2.ToArray
output.Write(b, 0, b.Length)
...
[/code]
-- 
View this message in context: 
http://itext-general.2136553.n4.nabble.com/SetFullCompression-results-in-unreadable-PDF-tp2279435p2279531.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
iText-questions mailing list
[email protected]
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