开发者

Free HTML TO PDF DLL for c#.net in ASP.net

Is there any free dll that can be used for 开发者_开发技巧PDF generation because I have HTML string in which full html string is there containing table and also inline css style on Tr and td along with css classes.. I tried ITextSharp but it is not parsing HTML properly.

Please help me.Thank in advance.


There is wkhtmltopdf however this is a executable file (there is we support for Php and Drupal), however you can wrap it and used it using .net diagnostics to execute it from command line. All others are not as good or not free.


DocRaptor.com has free plans. It's a web app that converts html to pdf.


This might help:

http://social.msdn.microsoft.com/Forums/en/ieextensiondevelopment/thread/3c7034e1-e52d-419c-9525-14cd8037932e

The idea is that you use Internet Explorer to "print" your HTML; make sure it prints to a PDF printer (e.g. CutePDF, or if you can afford it, Adobe PDF). Never tried it myself, but might work.


Personally I've used xhtmlrenderer compiled with ikvmc to .NET with great success.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜