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

Free Support Forum - aspose.com

Aspose.PDF vs Aspose.HTML

I have a need to convert a web page to a pdf. I am currently using aspose.pdf to do this and it seems to work ok but I run into strange issues that I am not sure how to resolve. Issues like it putting page breaks where I wouldn’t expect them or an html table only using about 60% of the page causing text to wrap where I wouldn’t expect it.

I have access to aspose.html and I was wondering if that would be a better way to do this or if there Aspose would recommend one over the other? I would consider the complexity of the page to be moderate.


Thanks for your query.

Well, both APIs provide HTML to PDF feature, however, Aspose.HTML is more specialized to deal with HTML documents and their conversion into other file formats. Please give it a try. In case you find some issue or difference between results, please share template files, sample code and screenshots to evaluate your issue.