以编程方式将报告导出为PDF - windows平台 [英] Programatically export report to PDF - windows platform

查看:90
本文介绍了以编程方式将报告导出为PDF - windows平台的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi Guys



我在Windows环境中使用带有* .rdlc报告文件的microsoft report viewer。



我要求以编程方式将报告(发票)导出为PDF并将其保存在文件夹中供以后使用(通过电子邮件发送发票)。





报告部分很好并且一切正常但是,我无法找到以编程方式导出报告的方法....没有太多运气做谷歌。





任何帮助都会因为时间稍微耗尽而非常有用。

Hi Guys

I am using microsoft report viewer on windows environment with *.rdlc reporting file.

I have a requirement to programatically export the report (invoice) into PDF and save it under a folder for later use (going to email the invoices).


The reporting part is fine and all working but However, I am unable to find a way to export the report programatically....done google without much luck.


any help would be highly appreicated as am slightly running out of time.

推荐答案

Google是你的朋友: http://forums.asp.net/t/1556522.aspx/1 [ ^ ]
Google is your friend: http://forums.asp.net/t/1556522.aspx/1[^]


请参阅这些..

http://forums.asp.net/t/1422717.aspx / 1 [ ^ ]

http://www.telerik.com/support/kb/reporting/设计 - 报告/导出报告到pdf-programmatically.aspx [ ^ ]
See these..
http://forums.asp.net/t/1422717.aspx/1[^]
http://www.telerik.com/support/kb/reporting/designing-reports/exporting-a-report-to-pdf-programmatically.aspx[^]


为了编写PDF,您可以使用iText,更准确地说,它的.NET端口名为iTextSharp:

http://en.wikipedia.org/wiki/ IText [ ^ ],

http://itextpdf.com/ [ ^ ],

http:// so urceforge.net/projects/itextsharp/ [ ^ ]。



我也提供了iText的链接,因为几乎所有需要使用iTextSharp的文档都在那里,以Java文档的形式提供。



-SA
For writing of PDF, you can use iText, more exactly, its .NET port called iTextSharp:
http://en.wikipedia.org/wiki/IText[^],
http://itextpdf.com/[^],
http://sourceforge.net/projects/itextsharp/[^].

I provided links to iText, too, because nearly all documentation you need to work with iTextSharp is there, provided as Java documentation.

—SA


这篇关于以编程方式将报告导出为PDF - windows平台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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