Html To Pdf - CSS 3

Hello,

I try to convert Html to Pdf with CSS3 Attribute. Actually I try to convert a table rounded corners to Pdf but that doesn’t work.

My samples :

Text

Code :

Aspose.Pdf.Generator.Pdf pdf = new Aspose.Pdf.Generator.Pdf();
Aspose.Pdf.Generator.Section section = pdf.Sections.Add();
StreamReader r = File.OpenText(“C:/HTMLPage1.htm”);
Aspose.Pdf.Generator.Text text2 = new Aspose.Pdf.Generator.Text(section, r.ReadToEnd());
text2.IsHtmlTagSupported = true;
section.Paragraphs.Add(text2);
pdf.HtmlInfo.ImgUrl = “E:/”;
pdf.Save(“E:/HTML2pdf.pdf”);

Hi Prezut,

Sorry for the inconvenience faced. Unfortunately, Aspose.Pdf doesn’t support this feature at the moment. However, I have also logged a new feature request, PDFNEWNET-34392, in our issue tracking system. You will be notified via this thread as soon as it gets available.

Please feel free for contact us for any further assistance.

Best Regard,

The issues you have found earlier (filed as PDFNEWNET-34392) have been fixed in Aspose.Pdf for .NET 9.8.0.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.