通过C#从文本框和更多控件填充PDF表单 [英] Fill PDF forms by C# from Textbox(s) and more Controls

查看:118
本文介绍了通过C#从文本框和更多控件填充PDF表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要创建一个ASP.NET页面,需要使用ASP.NET文本字段,CheckBox和RadioButton从用户获取信息,并将其填充到PDF字段。 PDF文件是购买合同。



我需要一种方法,可以获取用户填写的信息,并将其填入PDF,并使其成为可供用户下载,并在填写后将PDF文件保存在数据库中。



我已经PDF格式的PDF文件应由用户填写,使用此页面的用户将填写一些文本框,并且有checkBox(s)& RadioBoutton(s),例如,在ASP页面中他填写了他的全名并提交,页面将出现一个包含pdf文件的链接,在该字段中我们将找到他在asp页面中输入的名称。我希望我的想法对所有人都清楚,



我希望找到答案,感谢您的努力:)





这是我想用ASP页面填写的文件c#代码:

档案



















...

I need to create a ASP.NET page that needs to get information from the user using ASP.NET text fields, CheckBox and RadioButton and fill-it to PDF fields. the PDF file is a contract for buy.

I need a way in which can take the information filled by the user, and fill it to the PDF, and make it available for the user to download, and the save PDF file in database after fill it.

I have already PDF file with some fields in PDF should be filled by user, the user who use this page will fill some textbox(s) and there are checkBox(s) & RadioBoutton(s), foe example, in ASP page he fill his full name and submit , the page will appear a link contain the pdf file and in the field for the name we will found the name that he typed in asp page. I hope my idea is clear to all,

I hope find answer, thanks for your Efforts all : )


this is the file that I want to filling it by ASP page c# code:
File









...

推荐答案

HI


u可以使用iTextSharp写入现有PDF。我已经解决了你提到的问题。所以请使用这些帖子





使用iTextSharp创建PDF文档 [ ^ ]



使用C#(。NET 2.0)和iTextSharp创建PDF表格[ ^ ]


这篇关于通过C#从文本框和更多控件填充PDF表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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