Hello.
How do I get the default value of a PDF field? I reached here:
PdfStamper stp = new PdfStamper(reader, new FileOutputStream(tmpfile));
AcroFields af = stp.getAcroFields();
String fieldName = ...;
((PdfDictionary) af.getFieldItem("NumOptimus").merged.get(0))
.get(PdfName.DV);
I don't know if i'm going in the right way. How do I do this?
Thanks,
- [iText-questions] Get the default value of a PDF field Luis Catalino
- RE: [iText-questions] Get the default value of a PDF fi... Paulo Soares
- Re: [iText-questions] Get the default value of a PD... Luis Catalino
