开发者

Convert HTML to PDF in ASP.NET [duplicate]

This question already has answers here: Closed 11 years ago.

Possible Duplicate:

开发者_StackOverflow Convert HTML to PDF in .NET

How can i use the acrobat driver to covert web page to pdf , i have a icon on my browser. How can i use that in ASP.NET to convert the web page to pdf pro grammatically.


For that you will need a server side library. PDFSharp is a good one that is free. They have a lot of samples.


Depending on the complexity of your web page, this free library may be your choice. To parse html, you can use HtmlWorker. It has some weaknesses, though, e.g. how the styles are used. I'm working on a library based on iTextSharp but independent from HTMLWorker which would have better CSS support, but it's not finished yet.

iTextSharp

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜