We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.Pdf.Generator.pdf is removed from aspose.pdf 18.6

Dear Support,

kindly suggest me replacement of that code.

            Aspose.Pdf.Generator.Pdf aPdf = new Aspose.Pdf.Generator.Pdf();
            aPdf.BindHTML(aReportText);
            aPdf.Save(aReportFile.FullName);

Thanks,
Naveen.

@naveenkumar_navitas_net,

Please try the code as follows:
C#

HtmlLoadOptions opts = new HtmlLoadOptions();
Aspose.Pdf.Document document = new Aspose.Pdf.Document(@"c:\temp\input.html", opts);
document.Save(@"c:\temp\output.html", SaveFormat.Pdf);