Free Support Forum - aspose.com

bindHTML method of Pdf class.in the aspose pdf 2.9.0 is not available

bindHTML method of Pdf class.in the aspose pdf 2.9.0 is not available. i also checked the document, but didn’t find anything relevant. please provide some solution.

Hi Promil,

Thanks for using our products. I am afraid the BindHTML method is not available anymore in our product. In fact, BindHTML encountered some serious issues, so we had to remove it form API. As a workaround, you can read the contents of HTML file into Text object, and call a method text.setIsHtmlTagSupported(true);. It will render the HTML tags properly inside the PDF. For information on how to read the contents of HTML file contents, please visit
Converting text file to PDF

In case you still face any problem or you have any further query, please feel free to contact. We apologize for your inconvenience.