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

Free Support Forum - aspose.com

HTML to Pdf conversion issue using Aspose PDF

I am evaluating Aspose PDF. when i use the trial version, for converting HTML file to a pdf file. The pdf file is empty

It is not showing the text i have in the html file

Code is :
var htmloptions = new HtmlLoadOptions(Server.MapPath("."));

htmloptions.UseNewConversionEngine = true;

Document pdf = new Document(Server.MapPath("~/Docs/Test.html"), htmloptions);
pdf.Save(Server.MapPath("~/Docs/Test.pdf"));

I am getting the images correctly if i insert image in the html file


This message was posted using Email2Forum by Tahir Manzoor.

Hi Manihew,


Thanks for contacting support.

When using the API in trial mode (without using a valid license), the resultant file being generated is blank. However when using a valid license, the PDF file is properly being generated. For your reference, I have also attached the resultant PDF generated over my end.

You may also consider requesting a 30 days temporary license to test the API without any limitations. Get a temporary license