使用c#和asp.net在现有的pdf中编写文本 [英] write text in existing pdf using c# and asp.net

查看:66
本文介绍了使用c#和asp.net在现有的pdf中编写文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个pdf文件,它是某种形式的表单,其中包含应用程序编号字段.我想为此pdf编写或添加自动生成的编号.每当用户下载此pdf文件时,它都会包含不同的编号.例如,如果我第一次下载而不是应用程序编号生成1并添加或写入pdf应用程序编号.场地.如果我下次下载,则它将在pdf文件中写入或添加应用程序编号2.

请建议我该如何实施?
如果可以的话,请给我提供一些示例...

Hi All,

i have a pdf file which is some kind of form which contain application number field.i want to write or add auto generate number to this pdf. when ever user download this pdf it contain distinct number. for example if i download first time than application no generate 1 and add or write in pdf application no. field. if i download next time than it will write or add application number 2 in the pdf file.

please suggest me how can i implement this?
if possible than provide me some examples......

推荐答案

您将需要使用第三方库,例如iTextSharp [ ^ ],它具有很好的
You will need to use a 3rd party library, such as iTextSharp[^], which has a good deal of documentation.


您还可以考虑
You could also consider PDF SHarp[^] to modify the contents.


这篇关于使用c#和asp.net在现有的pdf中编写文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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