Facing issue while converting HTML containing SVG to PDF
Code snippet i am using:
MemoryStream objMemoryStream = new MemoryStream(Encoding.UTF8.GetBytes(File.ReadAllText(“text.html”)));
Document objPDFDocument = new Document(objMemoryStream, objHtmlLoadOptions);
objPDFDocument.Save(“test.pdf”);
Test test.zip (4.2 KB) HTML file is attached
Could anyone please guide me, if i am missing anything.
@abyjoshi2891
We noticed that API threw a System.ArgumentException while converting your HTML to PDF with 20.6 version. Therefore, an issue has been logged as PDFNET-48494 in our issue tracking system for the sake of correction. We will investigate the ticket in details and keep you informed about its rectification status. Please be patient and spare us some time.
We are sorry for the inconvenience.
The issues you have found earlier (filed as PDFNET-48494) have been fixed in Aspose.PDF for .NET 21.7.