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

Free Support Forum - aspose.com

Error loading simple pdf file

I hit the error when trying your code below for a pdf file… Exception I got is
"Index was outside the bounds of the array."

Aspose.Pdf.Document doc = new Aspose.Pdf.Document(filename);

TextAbsorber textAbsorber = new TextAbsorber();

doc.Pages.Accept(textAbsorber); -> Raised exception

Hi Boon,

Thanks for your query. Your query is related to Aspose.PDF. I am moving this forum thread to Aspose.PDF and my colleagues will answer you shortly.

Hi Boon,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Please share your template PDF file with us which is causing this issue. This will help us figure out the issue soon.

Thank You & Best Regards,