从WPF导出PDF格式报告的最佳方法是什么? [英] What's the best approach to export report in PDF format from WPF?

查看:261
本文介绍了从WPF导出PDF格式报告的最佳方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我目前的项目中,我想要导出从数据中以PDF格式报告。

有没有人有从WPF导出PDF格式报告的经验?你会推荐哪个方向?

推荐答案

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

iText是一个PDF库,允许您创建,ADAPT可移植文档格式(PDF)中的,检查和维护文档。

iText is a PDF library that allows you to CREATE, ADAPT, INSPECT and MAINTAIN documents in the Portable Document Format (PDF).

您可以使用iTextsharp从WPF窗口创建PDF文件。

You can create PDF File From WPF Window using iTextsharp .

这是一个很好的例子:  http://www.techcognition.com/post/Create-PDF-File-From -WPF-Window-using-iTextsharp-1001

Here is a good example:  http://www.techcognition.com/post/Create-PDF-File-From-WPF-Window-using-iTextsharp-1001

注意:此响应包含对第三方万维网站点的引用。 Microsoft提供此信息是为了方便您。 Microsoft不控制这些网站,也未测试在这些网站上找到的任何软件或信息;因此,
Microsoft不能就其中发现的任何软件或信息的质量,安全性或适用性做出任何陈述。使用互联网上的任何软件都存在固有的危险,微软提醒您在从互联网上检索任何软件之前确保您完全了解风险。

Note: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; Therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

最好的问候,

Bob


这篇关于从WPF导出PDF格式报告的最佳方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆