如何使用pdf表格 [英] How to use pdf forms

查看:74
本文介绍了如何使用pdf表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

iTextSharp用于生成网页的pdf格式。但是如何让用户通过pdf表单输入数据并将内容存储在数据库中。如何在web paaplication中嵌入adobe pdf表单

iTextSharp is used to generate the pdf format of the webpage . But how to make the user input the data through the pdf forms and store the content in the database.How to embed adobe pdf forms in a web paaplication

推荐答案

这取决于在你想要的。根据iText文档,iText支持这样的交互元素作为AcroForms。

这些元素的这些功能在这里描述: http://en.wikipedia.org/wiki/Portable_Document_Format#Interactive_elements [ ^ ]。



对于iTestSharp,它的版本与iText同步,因此应该提供相同的功能。对于大多数文档,您需要查看Java文档,这对于C#开发人员来说很容易理解。



可填充字段由类表示 com.itextpdf.text.pdf.TextField

http://api.itextpdf.com/itext/com/itextpdf/text/pdf/TextField.html [ ^ ]。



这是一些基本的C#代码示例: http://kuujinbo.info/iTextInAction2Ed/index .aspx?ch =第08章& ex = TextFields [ ^ ]。



您可以在此论坛中查找有关交互式PDF元素的问题:http://support.itextpdf.com/forum/17 [ ^ ]。



-SA
It depends on what you want. According to iText documentation, iText supports such interactive element as AcroForms.
These functionality of such elements are described here: http://en.wikipedia.org/wiki/Portable_Document_Format#Interactive_elements[^].

As to iTestSharp, its releases are synchronized with iText, so the same features should be available. For most of the documentation, you need to look at Java documentation, which is easy to understand for a C# developer.

A "fillable field" is represented by the class com.itextpdf.text.pdf.TextField:
http://api.itextpdf.com/itext/com/itextpdf/text/pdf/TextField.html[^].

This is some basic C# code sample: http://kuujinbo.info/iTextInAction2Ed/index.aspx?ch=Chapter08&ex=TextFields[^].

You can look for the questions on interactive PDF elements in this forum: http://support.itextpdf.com/forum/17[^].

—SA


这篇关于如何使用pdf表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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