Hi,
Im filling Form Fields with iTextsharp, but when I open the pdf file it shows
this message:
"This document enabled extended features in Adobe Reader. The document has been
changed since it was created an use of extended features in no longer
available. Please contact the author for the original version of this document."
What Im doing wrong?
This is my code:
string OUT_FILE = "c:\\out.pdf";
string IN_FILE = "c:\\in.pdf";
System.IO.FileStream out_stream = new
System.IO.FileStream(OUT_FILE, FileMode.Create);
PdfStamper stamper = new PdfStamper(new PdfReader(IN_FILE),
out_stream, '\0', true);
stamper.AcroFields.SetField("some_field[0]", "some text");
stamper.FormFlattening = false;//need to fill the form fields again
sometime
stamper.Close();
thank you very much for answer
Jiri Mares
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php
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/