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

Free Support Forum - aspose.com

Loading and Saving attached PDF raises error of "Value does not fall within the expected range"

If I load the attached file into Aspose.PDF.Document and then save it, an error is raised of "Value does not fall within the expected range."

Sample code:

Aspose.Pdf.Document doc = new Aspose.Pdf.Document("C:\temp\test.pdf);

Hi Stacey,

Thanks for your inquiry. I am afraid I am unable to replicate the issue with Aspose.Pdf for .NET 9.5.0. Please download and try latest version of Aspose.Pdf for .NET, it will help you to resolve the issue.

Please feel free to contact us for any further assistance.

Best Regards,

Yes–just confirmed that the latest version (9.5.0) does work correctly and does not raise an error.


Hi Michael,

Thanks for your feedback. It is good to know that you have managed to resolve the issue.

Please keep using our API and feel free to ask any question and concern, we will be more than happy to extend our support.

Best Regards,