Hi,
I have used Aspose PDF (10.7.0.0) 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
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
Thanks,
I have used Aspose PDF (10.7.0.0) 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)// Instantiate HTML SaveOptions object
{
Aspose.Pdf.Document pdfDocument = new Aspose.Pdf.Document(in_file);
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
}
Thanks,