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

Free Support Forum - aspose.com

Determine whether PDF contains XFA or Standard Acroform using Aspose.PDF for .NET

Hi. I am new to Aspose. Is there any function that I can use in Aspose.PDF that can return whether there is a XFA form in my interactive form fields? Thanks in advance

Hi Arashi,

Thanks for your inquiry. You may check form type as following to identify the form, either it is Dynamic XFA or Static XFA or Standard Acroform. Hopefully it will help you to accomplish your task.

// Load form<o:p></o:p>

Document document = new Document("LifecyclePDF.pdf");

// get the form type


Please feel free to contact us for any further assistance.

Best Regards,

Thaks. That really helps!

Hi Arashi,

Thanks for your feedback. It is good to know that the shared information worked for you.

Please keep using our API and feel free to contact us for any query or concern, we will be more than happy to extend our support.

Best Regards,