Rank: Member Groups: Member
Joined: 5/23/2013 Posts: 24
|
Hi, it could be possible to read a value of a text box from the pdf document? I'va try something like this:
EO.Pdf.PdfDocument doc = new EO.Pdf.PdfDocument("c:\\myPDF.pdf"); EO.Pdf.PdfFieldCollection fields = doc.Fields; foreach (EO.Pdf.PdfField f in fields) { string name = f.Name; string value = f.Value; }
but I don't get any Filed in the document.
Thanks!
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
Make sure you loop through f.Children recursively. PDF fields can be organized as a tree. Only the leaf nodes are real fields.
Thanks!
|