Hi,
I’m having a problem converting some XFA based documents to AcroForms. Here is the code:
var pdf = new Aspose.Pdf.Document("SampleDocument.pdf");
pdf.Form.Type = Aspose.Pdf.Forms.FormType.Standard; // This line never finishes.
This works with many XFA based documents I’ve tested but not the some like the one I am attaching. The process will hang on the line setting the FormType.Standard. With documents that hang, the memory usage typically will grow until you run out of memory. Killing the process is the only way to stop it.
Any ideas on why this is occurring?
SampleDocument.pdf (1.2 MB)