When converting html page to Pdf styles are not getting applied and SVG elements are not visible

I have uploaded sample code along with pdf and html files and all css and html required. Please have a look and let us know whats going wrong with our approach.

My sample code

static void Main(string[] args)
        {
            var tempPath = System.IO.Path.GetFullPath("../../ExportPdfFiles/Temp/");
            var exportCSSPath = System.IO.Path.GetFullPath("../../ExportPdfFiles/");
            var htmlPath = tempPath + "TestPdf.html";

            var load = new HtmlLoadOptions(exportCSSPath);

            // load source HTML file
            Document pdfDoc = new Document(htmlPath, load);

            // save PDF document
            pdfDoc.Save(tempPath + "/ResultantHTML.pdf");
        }

TestConsoleApp.zip (306.0 KB)

@manjayd

Thanks for contacting support.

It seems that your post is about the issue reported over similar forum topic. You may please check our feedback and comments in other topic and follow up for the updates. We will keep you posted once we have some certain updates, regarding resolution of the logged issues. Please be patient and spare us little time.

We are sorry for the inconvenience.