创建,更新和使用C#读取.pdf文件 [英] Create, Update & Read .pdf file using C#

查看:74
本文介绍了创建,更新和使用C#读取.pdf文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我想创建一个C#Win应用程序,我想在其中创建一个.pdf文件,根据一些输入对其进行更新,阅读.pdf文件并打印该.pdf文件.

我该如何实现?
是否可以在不使用任何第三方工具或API的情况下实现它?

任何人都可以为它指定任何好的第三方API或dll吗?

Hello guys,

I would like to create a C# Win application, in which i want to create a .pdf file, update it based on some inputs, read the .pdf file & also to print the .pdf file.

How can i achieve it?
Is it possible to achieve it without using any third-party tools or APIs?

Can any one specify any good third party APIs or dlls for the same?

推荐答案

使用google很容易.在12.4个* MILLION *命中(搜索短语="C#pdf文件")中,这是第二个.第一个是关于CodeProject的文章.

http://csharp-source.net/open-source/pdf-libraries [ ^ ]



Using google is easy. Out of 12.4 *MILLION* hits (search phrase = "C# pdf files"), this one was the 2nd one. The first one was for an article here on CodeProject.

http://csharp-source.net/open-source/pdf-libraries[^]




abyclassic写道:
abyclassic wrote:

是否可以在不使用任何第三方工具的情况下实现它或API?

Is it possible to achieve it without using any third-party tools or APIs?



不,当然不是.这就是为什么在MSDN中没有关于PDF名称空间的原因,没有一个.

最好的选择是购买图书馆,但是有免费的图书馆可以做这种事情.



No, of course not. That''s why there''s nothing in MSDN about a PDF namespace, there is not one.

Your best bet is to buy a library, but there are free ones that kind of work.


abyclassic写道:
abyclassic wrote:

是否可以在不使用任何第三方工具或API的情况下实现这一目标?

Is it possible to achieve it without using any third-party tools or APIs?



理论上是,因为PDF规范是公开可用的[ ^ ].但是,这将是一项艰巨的任务(请参阅文章:"PDF表单解析器" 了解更多信息) ).
:)



Theoretically yes, since the PDF specifications are publically available [^]. It would be a daunting task, however (see the article: "A PDF Forms Parser" for an insight).
:)


这篇关于创建,更新和使用C#读取.pdf文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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