Hi,
I am using the below code to convert the XFA form to a regular PDF. But the resultant PDF is empty.
I have attached the XFA form.
I am using aspose-pdf-22.9-jdk16 for JAVA
// Load dynamic XFA form
Document document = new Document("XFAform.pdf");
// Set the form fields type as standard AcroForm
document.getForm().setType(FormType.Standard);
// Save the resultant PDF
document.save("C:/temp/<a class="attachment" href="/uploads/discourse_instance3/73788">Purchase_Order.pdf</a> (142.9 KB)
Standard_AcroForm.pdf");