Hi Angel,
Thank you for your interest in Essential PDF.
Basically, starting from our Essential PDF v5.2.0.25, we had introduced our new version of Essential PDF which is the complete re-write of our older Pdf version with improved performance and easy to use APIs. Since the code-snippet which you have used corresponds to our older version of the legacy PDF, this will not work with our newer version.
Please do find the documentation link explaining the HtmlToPDF conversion from the below location.
http://help.syncfusion.com/ug_72_new/pdf/HTMLToPDF.htmlAlso, please do find our online sample from the below location.
http://samples.syncfusion.com/ASPNET/7.2.0.20/web/pdf.web/samples/3.5/Product%20Showcase/HtmlToPdf/CS/default.aspxPlease try this and let us know if you have any questions.
Regards,
Karthik