问题描述
我寻找到当前查看的asp.net的网页导出到使用iTextSharp的PDF文档最简单的方法 - 它可以是其任截图或传入URL生成文档。样品code会大大AP preciated。事先非常感谢!
I looking for the easiest way to export the currently viewed asp.net web page to a PDF document using iTextSharp - it can be either a screenshot of it or passing in the url to generate the document. Sample code would be greatly appreciated. Many thanks in advance!
推荐答案
在过去的项目中,我们使用的做这样的事情,你需要和它的工作相当不错。您basicly给它一个网址,它处理的HTML页面转换成PDF格式。
On a past project, we used Supergoo ABCPDFto do something like you need to and it worked quite well. You basicly feed it an url and it process the HTML page into a PDF.
在缺点方面,它与相关的IT成本许可的软件,我们同时出口很多大的PDF时,有一些性能问题。
On the downside, it's a licensed software with costs associated to it and we had some performance issues when exporting a lot of large PDF at the same time.
希望这有助于!
这篇关于ASP.NET网页,PDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!