Working with XFA and Acroforms using Aspose.PDF for .NET in C#

We are doing a simple POC on using Aspose.PDF.

  1. existing PDF (XFA).
  2. Gets Token and emailId from DB.
  3. Add the Token to one of the field (Then make the read only). add a submit button ( which will call a method with all the fields values ).
  4. And then email to the emailId, so user can fill the form fields and submit.

I am not sure how to do step 3.
a. How to fill a form using Aspose.Pdf
b. How to make a particular field read only.
c. How to add Submit button with action to call a method.
d. How to send email using Aspose.Pdf ?

Hi there,

Thanks for your inquiry.

bkray@live.com:
a. How to fill a form using Aspose.Pdf ?
Please check following documentation link to fill the form.


bkray@live.com:
b. How to make a particular field read only?
Please check following documentation link to flatten a particular form field.


bkray@live.com:
c. How to add Submit button with action to call a method?
You may add a push button in your form and use JavaScript for any further processing.


bkray@live.com:
d. How to send email using Aspose.Pdf ?
Please note Aspose.Mail for .NET provides feature to draft a new email, attach a file and send email. Please check following documentation links for the purpose.


Please feel free to contact us for any further assistance.

Best Regards,