We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

XFA PDF Form becomes invalid after Save using Aspose.Pdf.9.2.1

I have created a XFA Dynamic PDF form with Adobe Livecycle Designer ES4.



After I run the following code -:



Dim pdf As Generator.Pdf = New Generator.Pdf



Dim doc As Document = New Document(“c:\PDF\InsuranceForm.pdf”)



doc.Form.Type = FormType.Dynamic



doc.Save(“c:\PDF\OutPut.pdf”)





Opening the OutPut.pdf with Acrobat Reader XI I receive the following message “This document enabled extended features in Adobe Reader. The document has been changed since it was created and use of extended features is no longer available. Please contact the author for the original version of this document”.



I have attached the original document

Hi Arge,


Thanks for using our products.

XFA is a dynamic PDF form type and you do not need to explicitly specify teh FormType as Dynamic. However if the source PDF form has extended Rights feature enabled, you may consider following the instructions specified over Preserve Extended Rights feature while working with Forms