@kushagra93
Thanks for sharing sample HTML file.
We have observed an Exception of ('Failed to parse URL')
while converting your HTML into PDF using following code snippet.
Aspose.Pdf.HtmlLoadOptions objLoadOptions = new Aspose.Pdf.HtmlLoadOptions();
objLoadOptions.PageInfo.Margin.Bottom = 0;
objLoadOptions.PageInfo.Margin.Top = 0;
objLoadOptions.PageInfo.Margin.Right = 0;
objLoadOptions.PageInfo.Margin.Left = 0;
objLoadOptions.PageInfo.Height = PageSize.A4.Width;
objLoadOptions.PageInfo.Width = PageSize.A4.Height;
Aspose.Pdf.Document doc = new Aspose.Pdf.Document(dataDir + "TestReport123_2018-08-15 12-30-01.html", objLoadOptions);
doc.Save(dataDir + "SamplefromHtml.pdf");
We have logged an issue as PDFNET-45242 in our issue tracking system and will further investigate this in details. Regarding JavaScript rendering while HTML to PDF conversion, an investigation ticket as PDFNET-42361 was already logged in our issue management system and it has also been linked with this post. As soon as we have some definite updates regarding logged tickets, we will let you know. Please spare us little time.
We are sorry for the inconvenience.