c# - Aspose PDF check formatting before fill field -


i'm using aspose pdf read pdf, fields have format restrictions (ie. format set number, no chars can inputted field). however; when i'm trying fill field using aspose pdf, there way let aspose check field's format before enters value?

aspose.pdf.facades.form form = new aspose.pdf.facades.form(appdomain.currentdomain.basedirectory + "test.pdf");  try {     form.fillfield("percentage_textbox", "testing"); } catch (exception) {     // never triggers     console.writeline("error");     throw; } form.save(appdomain.currentdomain.basedirectory + "test(output).pdf"); 

this code i'm using. i'm expecting when it's filling field, result error, since field's format in acrobat set number field.


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -