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.