WPF项目需要填写PDF表格 [英] WPF project need to fill PDF form

查看:87
本文介绍了WPF项目需要填写PDF表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。

在我的WPF VB项目中,我想自动化进程以填充SQL Server数据库中的PDF表单字段并通过单击按钮保存。有什么方法可以自动化这个过程吗?非常感谢你的帮助。

In my WPF VB project I would like to automate process to fill PDF form fields from SQL Server database and save by click button. Is there any way I can to automate this process? I really appreciate your help.

谢谢。

推荐答案

您认为MS RDLC报告?您可以将RDLC报告呈现为PDF(这样您可能需要使用Winform reportviewer控件来显示rdlc报告)。

Do you consider MS RDLC Report? You can render a RDLC report to a PDF (this way you may need to use Winform reportviewer control to dispaly the rdlc reports) .

https://msdn.microsoft.com/en-us/library/ms251837.aspx

https://msdn.microsoft.com/en-us/library/ms251837.aspx

https://stackoverflow.com/questions/43511391/render-a-report-to-pdf

如果RDLC不是选项,请考虑第三方来源: PDFsharp 。您可以通过此方便地创建PDF文档。

If RDLC is not option , consider the third party source: PDFsharp . You can easily create a PDF documents by this.

另一个相关主题:

什么是将FlowDocument转换为PDF的最佳方式

输出到PDF格式WPF(免费!)

Output to PDF in WPF (for free!)

注意:此响应包含对第三方万维网站点的引用。 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

Bob


这篇关于WPF项目需要填写PDF表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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