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

Free Support Forum - aspose.com

Is it possible to convert htmlstring to pdf

Hi

I have the Aspose.pdf version 4.5.0.0. In my application, i will create an html string dynamically. Is it possible for me to convert this htmlstring to pdf using this version. If possible, could you please provide me a sample code as well.

Regards,
Swapna

Hi Swapna,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Well, you are using a very old version of Aspose.Pdf for .NET and I am not sure whether this feature is available in that version or not. But, latest version of Aspose.Pdf for .NET v6.4.2 does support this feature with a lot of other new features and enhancement. We will recommend you to upgrade to the latest version and see if it fulfills your requirements. Following is the documentation link for HTML2PDF conversion as per your requirement.

http://www.aspose.com/documentation/.net-components/aspose.pdf-for-.net/how-to-convert-html-to-pdf-using-inlinehtml-approach.html

Thank You & Best Regards,