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

Free Support Forum - aspose.com

HTML to PNG and PDF conversion: table border color is not taken over

Dear Aspose Team,

we are facing the issue, that table border colors are not overtaken if convertion from HTML to PNG and PDF files.

Please find attached the source file (.htm) as well as the generated results.

Tested with Aspose.Words version 15.7.0.

Document doc = new Document(sourceFilePath);
String targetFilePath = String.Format("{0}{1}",targetPath,targetFileName);
doc.Save(String.Format("{0}{1}",targetFilePath,“pdf”), SaveFormat.Pdf);
doc.Save(String.Format("{0}{1}",targetFilePath,“docx”), SaveFormat.Docx);
doc.Save(String.Format("{0}{1}",targetFilePath,“png”), SaveFormat.Png);

Thanks and kind regards

Hi Wolfgang,

Thanks for your inquiry. I have tested the scenario and have managed to reproduce the same issue at my side. For the sake of correction, I have logged this problem in our issue tracking system as WORDSNET-12255. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.