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

Free Support Forum - aspose.com

Convert Pdf to Html hangs at specific files


I have used Aspose PDF ( to convert from pdf to html (in this
case, it’s a infected PDF), and Aspose hang.
This attached file is opened by MS Word with no error

Pdf2Html(String in_file, String out_file)
Aspose.Pdf.Document pdfDocument = new Aspose.Pdf.Document(in_file);
// Instantiate HTML SaveOptions object
Aspose.Pdf.HtmlSaveOptions htmlOptions = new Aspose.Pdf.HtmlSaveOptions();

// Specify to split the output into multiple pages
htmlOptions.SplitIntoPages = true;

String convertedFile = Path.Combine(out_file, “page.html”);

pdfDocument.Save(convertedFile, htmlOptions); //hang here


Hi Long,

Thanks for your inquiry. I have tested your scenario with shared documents using Aspose.Pdf for .NET 11.7.0 and managed to observe the hanging issue. For further investigation, I have logged an issue in our issue tracking system as PDFNET-41046 and also linked your request to it. We will keep you updated via this thread regarding the issue status.

We are sorry for the inconvenience caused.

<span style=“font-size:10.0pt;line-height:115%;font-family:“Arial”,“sans-serif”;
mso-fareast-language:EN-US;mso-bidi-language:AR-SA”>Best Regards,

Please tell me status of this issue

Hi Long

We are sorry for the inconvenience. The issue is still not resolved as product team is busy in resolving other issues in the queue, reported earlier. However we have raised issue priority of your ticket and requested our team to analyse the issue and share an ETA/update as soon as possible. We will notify you as soon as we get any further update.

Thanks for your patience and cooperation.

Best Regards,

Please tell me status of this issue. Is there any progess ?

Hi Long,

Thanks for your inquriy. I am afraid the issue still not resolved, however it has been assigned to developer. We will notify you as soon as some update is available.

Thanks for your patience and cooperation.

Best Regards,

Please tell me the status of <span style=“font-size:10.0pt;
Thanks you

Hi Long,

Thanks for your patience.

I am afraid the earlier reported issue is not yet resolved. However the product team will surely consider investigating/fixing it as per development schedule and as soon as we have some definite updates regarding its resolution, we will let you know. Please be patient and spare us little time. We are sorry for this delay and inconvenience.