How do I get a TextField from AcroFields using iText/Sharp?
问题 I am using iTextSharp to loop through the fields in the AcroFields collection so I can set a various properties on an annotation. I have worked out how to pull most of the properties for each of the annotation fields, but would like to be able to cast the individual annotation to the correct field object (i.e., TextField , PushButtonField , RadioCheckField , etc.). Short of creating a new TextField , reading and then setting all of the settings/properties associated with it, is there a