i have a pdf form whcih has few fields that i fill from C# using the ItextSharp, the problem is that the field filled in the pdf form cannot be read by Adobe View Read Out Loud feature in correct order and the Jaws cannot read the text filled in the pdf form. But both the readers read the text that was in the pdf form except for the values in fields.
here is the code i use
PdfReader reader = new PdfReader(formFile);
PdfStamper stamper = new PdfStamper(reader,
new FileStream(newFile, FileMode.Create));
AcroFields fields = stamper.AcroFields;
// set form fields
fields.SetField("Date", "10/10/2009");
// set document info
Hashtable info = new Hashtable();
info["Title"] = "pdfForm";
info["Author"] = "Code";
info["Creator"] = "user";
stamper.MoreInfo = info;
// flatten form fields and close document
stamper.Close(); |
Views
Replies
Total Likes