Op 3/01/2013 12:40, jayesh_nazre schreef: > I am now back to my original problem. I cannot use > form.SetFieldProperty("txtTextBox", "setfflags", BaseField.HIDDEN, null); or > form.SetFieldProperty("txtTextBox", "setflags", PdfAnnotation.FLAGS_HIDDEN, > null); I can't reproduce your problem. The "setflags" line does the trick when I don't flatten the form. When I flatten the form, I remove the field (flattening removes all fields anyways: they are replaced by XObjects).
------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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