开发者

Generate PDF file from HTML string in asp.net with vb

I want to generate PDF file from HTML string and that PDF file I have to attach in mail using as开发者_运维问答p.net. I try ghtmldoc.exe, it will generate corrupted pdf file.

I also use iTextsharp. It generate PDF without format though I don't use CSS in that HTML page. Only data in html file is converted in PDF.


I've always found Winnovative HTML to PDF converter very useful for doing things like this:

http://www.winnovative-software.com/Html-To-Pdf-Converter.aspx

You can either specify a URL to convert to PDF, or specify a HTML string to convert to PDF instead.

An open source solution, would be iTextSharp:

http://sourceforge.net/projects/itextsharp/


Exporting to pdf is really made simple by telerik. check this link. Telerik has a good look too. so if you are not late to change over to telerik, i suggest do that.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜