Hi
Hi Yaniv,
Thanks for your inquiry. Please use the new DOM approach for HTML to PDF conversion, as it will resolve the issue. If you use some external resources (css/fonts/images), you need to pass the file path to HtmlLoadOptions
as the base path. Please check the sample code and output for your reference.
// Specify the base path/url for the html file which serves as the image database
String basePath = @"C:\Users\Home\Downloads\CCDA\";
HtmlLoadOptions htmloptions = new HtmlLoadOptions(basePath);
// Load HTML file
Document doc = new Document(@"C:\Users\Home\Downloads\CCDA\Good Health Health Summary.html", htmloptions);
// Save HTML file
doc.Save(basePath + "HTMLtoPDF_output.pdf");
Please feel free to contact us for any further assistance.
Best Regards,
Hi Tilal
Hi Yaniv,
Thanks for considering Aspose. You are getting an evaluation limitation error. Please note that the Aspose.Pdf evaluation version has two limitations: an evaluation watermark and a limit of viewing at most four elements of any collection. Please make a request for a temporary license to evaluate our product without any limitation. It will resolve the issue.
Please feel free to contact us for any further assistance.
Best Regards,
Ahmad
- html documents cannot open, and i get the follow error: "A table-cell is spanning more rows than available in its parent element."
- html is convert to PDF but the table in the PDF doesn’t look as expected
Hi Yaniv,
Hi Yaniv,
- ccd_html.html - Formatting issues when converting file to PDF format. It’s been logged as PDFNEWNET-39271.
- ccda_html.html - Exception during conversion. Its been logged as PDFNEWNET-39272.
The issues you have found earlier (filed as PDFNET-39272) have been fixed in Aspose.PDF for .NET 21.4.