Okay, found the solution to my problem and posting it here for the benefit of others.
1. Problem: The pdf was getting corrupt when creating a stamper with append mode. This worked when creating the same file without append. Solution: I was using a MemoryStream as the writing stream and then using the GetBuffer() method to write the contents to a file. Unfortunately the corruption was happening at this level because GetBuffer returns unwanted characters from the buffer, I used ToArray instead and all worked fine. 2. Problem: The pdf was not being created with the usage rights enabled even though I was using a stamper object with append enabled. Solution: I was stamping the pdf with an image, unfortunately it seems like embedding an image is one of those no-go areas that breaks the usage rights of the new pdf. Hope this helps if someone else is having the same problem. -- View this message in context: http://itext-general.2136553.n4.nabble.com/Enabling-Extended-Features-in-Adobe-tp3639475p3642611.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
