i'm using ITextsharp to fill the pdf file . the Adobe View-->Read Out loud
function doesn;t read the text that i have added to the pdf forms. how can i
make this pdf form accessible when i fill this pdf file.
Here is the C# code i'm using
string formFile = @"c:\PsTools\testing.pdf" ;
string newFile = @"c:\PsTools\Report.pdf" ;
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" , "02/04/2010" ); fields.SetField("Time" ,
"15:02" );
fields.SetField("details" , "Some details" );
fields.SetField("detail2 " , "New detail" );
// set document info
Hashtable info = new Hashtable();
info["Title" ] = "Modified Form" ;
info["Author" ] = "Dolly" ;
info["Creator" ] = "My Web App" ;
stamper.MoreInfo = info; // flatten form fields and close
document stamper.FormFlattening = true ;
stamper.Close();
--
View this message in context:
http://old.nabble.com/Filling-UP-Pdf-forms-Using-ItextSharp-----Adobe-Read-Out-LOud-not-working-for-Forms-input-field.-tp27567978p27567978.html
Sent from the iText - General mailing list archive at Nabble.com.
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
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/