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

Free Support Forum - aspose.com

Problems when using aspose.pdf for .net to convert pdf to html

Hi,

When I use aspose.pdf for .net, I convert the pdf to html,but the converted has some problems:1.The hyperlinks was missing;2.The Bold font has changed to unbold font,3.The underline was incorrect. Please have a look about my attachment. Thank you very much!

Hi there,


Thanks for your inquiry. We will appreciate it if you please share your sample code and source PDF document as well. We will look into it and will guide you accordingly.

We are sorry for the inconvenience caused.

Best Regards,
Hello, the following is my code, and the attachment is my pdf file:
Aspose.Pdf.Document pdf = new Aspose.Pdf.Document(sourceFilePath);
Aspose.Pdf.HtmlSaveOptions saveOptions = new Aspose.Pdf.HtmlSaveOptions();
saveOptions.FixedLayout = true;
saveOptions.SplitIntoPages = false;
saveOptions.RasterImagesSavingMode = Aspose.Pdf.HtmlSaveOptions.RasterImagesSavingModes.AsExternalPngFilesReferencedViaSvg;
pdf.Save(destinationFilePath, saveOptions);

Hi there,


Thanks for sharing the source document. I have tested the PDF to HTML conversion scenario using Aspose.Pdf for .NET 11.6.0 and noticed the reported issues, so logged following tickets in our issue tracking system for further investigation and rectification. We will notify you as soon as these issues are resolved.

PDFNEWNET-40738: Local hyperlinks are missing in PDF to HTML conversion.
PDFNEWNET-40739: Bold font style rendered as regular in PDF to HTML conversion.
PDFNEWNET-40740: Underlines rendered incorrectly in PDF to HTML conversion.

We are sorry for the inconvenience caused.

Best Regards,