在 C#.Net 中打开、编辑和保存 PDF 文件

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/17063230/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-10 08:29:27  来源:igfitidea点击:

Open, Edit and Save PDF File in C#.Net

c#pdfitextsharppdfclown

提问by user2218549

I have a requirement to open an existing pdf file and need to add some comments or edit existing content and save the same file.

我需要打开现有的 pdf 文件,需要添加一些评论或编辑现有内容并保存相同的文件。

I spent so many hours on this and most people referred itextsharp or pdf clown but unfortunately didn't get any samples or how to use itextsharp or pdf clown to do the requirement.

我在这上面花了很多时间,大多数人都提到了 itextsharp 或 pdf clown,但不幸的是没有得到任何样本或如何使用 itextsharp 或 pdf clown 来满足要求。

Thanks in advance

提前致谢

回答by Edper

Again mikesdotnetting website is a good starter when i made one and it works.

当我制作一个网站时,mikesdotnetting 网站再次成为一个很好的入门网站,并且它有效。

Here's for adding text with chunks, phrases and paragraph example

这是用于添加带有块、短语和段落示例的文本

And here's one for editing an already existing pdf file here.

这里还有一个用于编辑现有的PDF文件在这里