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

Free Support Forum - aspose.com

PDF XFA Text Absorption

I am attempting to extract text from an XFA PDF document. If FormType is dynamic I only get the standard PDF error message. If I switch to Standard as directed I get a “Value not in range error”. Anyone else with the same problem?

var doc = new Document(@“some_path”);
doc.Form.Type = FormType.Standard;

var absorber = new TextAbsorber();



Hi there,

Thanks for your inquiry. I have extracted text using Aspose.Pdf for .NET 10.6.0 from a sample XFA PDF form and unable to notice the issue. We will appreciate it if you please share your sample document here, so we will look into it and guide you accordingly.

We are sorry for the inconvenience caused.

Best Regards,