HTML to PDF Converters for .NET [closed]

风流意气都作罢 提交于 2019-12-01 04:41:05

EDIT: ABCPDF no longer offers a free option unless you can satisfy their requirements of either being a Worthy Cause or a Worthy Individual. More details here: http://www.websupergoo.com/free-license.htm

ABCPDF will handle multiple pages, as stated in this link - "You can even have HTML flowed between multiple columns over multiple PDF pages."

I've used it extensively and found it to be pretty good.

Either that or iTextSharp if you're after open source options.

If you've got some money to spend, then have a look at Aspose.PDF.

Just implemented something similar in one of my projects using wkhtmltopdf (webkit based) I'm rendering views or partial views to strings, writing them to temp html file and sending starting the exe in a new System.Diagnostics process..

The pdf's look absolutely awesome, it works with external css sheets and everything.

I don't know of a free one, but we use Aspose.PDF for .Net to generate PDFs from files hosted in SharePoint through a custom document converter. HTML is one of the supported formats.

Note: I have no affiliation with Aspose, I've just been pleased with the component they provide.

Aim Kai

ITextSharp can do this for you. http://itextsharp.com/

This answer has some links to some code.. Convert HTML file to PDF file using ITextSharp

Winnovative HTML to PDF converter is what I've used for years. Great tool, good documentation.

http://www.winnovative-software.com/?gclid=CJnK3MPs8qQCFQ915Qod1QUAjw

This isn't an exact fit, but this should work for you with a little modification if you have MS Word installed on the machine executing the code. All you should have to do is open the HTML as a Word document (since MS Word can open HTML). It's a free way to do it if it works for you.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!