public void CleanAllFields() { if (_reader != null) { _m.Setup(); System.Collections.Hashtable _arr = _m.GetFieldsInfoToHashtable(); _m.Dispose(); foreach (DictionaryEntry elem in _arr) { _form.setField(elem.Key.ToString(), ""); } } else { throw new FieldAccessException(); } }
public void SetAllFieldToEmpty() { if (_reader != null) { PdfDescriber m = new PdfDescriber(_fileNameSorgente); m.Setup(); System.Collections.Hashtable _arr = m.GetFieldsInfoToHashtable(); foreach (DictionaryEntry elem in _arr) { _form.setField(elem.Key.ToString(), ""); } m.Dispose(); } else { throw new FieldAccessException(); } }