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

Free Support Forum - aspose.com

Unable to create HTML

We are getting following error while trying to get the HTML from the attached PDF. We are using Aspose.pdf 9.6.0.

Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at ..•( , )
at .a.( , List1 )<br> at .a.Œ•( , List1 )
at .a.›( , List`1 )
at .a.Process( , ,  )
at š..€(Document , & , UnifiedSaveOptions , Int32& )
at š..“(Document , String , Stream , HtmlSaveOptions )
at Aspose.Pdf.Document.Save(String outputFileName, SaveOptions options)
at LBConversionLibrary.ProcessDocument.processPDF(String _txtFilePath, String dPath, String pageTitle, String loudbookID, Boolean addOrg) in D:\Dump_D\Projects\SourceCode\course_migration_tool\trunk\course_migration_tool\LBConversionWindowsService\LBConversionLibrary\ProcessDocument.cs:line 425


Thanks for your inquiry. While testing the PDF to HTML scenario with your shared document, we have managed to reproduce the issue with latest version of Aspose.Pdf for .NET 9.7.0. We have logged a ticket PDFNEWNET-37700 in our issue tracking system for further investigation and resolution. We will notify you as soon as it is resolved.

We are sorry for the inconvenience caused.

Best Regards,