C# 最佳服务器端 .NET PDF 编辑库
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/204860/
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
Best Server-side .NET PDF editing library
提问by harley.333
What's the best .NET PDF editing library available, and why?
什么是最好的 .NET PDF 编辑库,为什么?
It needs to be used on an IIS web-server. Specifically, I need to edit a PDF which was generated by reporting services.
它需要在 IIS 网络服务器上使用。具体来说,我需要编辑由报告服务生成的 PDF。
Factors I'm interested in:
我感兴趣的因素:
- Speed
- Memory Consumption
- Price
- Quality of documentation
- Library stability
- Size of library
- Whatever else you think is important
- 速度
- 内存消耗
- 价钱
- 文件质量
- 文库稳定性
- 图书馆大小
- 其他任何你认为重要的
采纳答案by gimel
Have a look at iTextSharp. iTextSharp is a port of the iText, a free Java-Pdf library.
看看iTextSharp。iTextSharp 是iText 的一个端口,一个免费的 Java-Pdf 库。
To quote iText:
引用 iText:
You can use iText to:
您可以使用 iText 来:
- Serve PDF to a browser
- Generate dynamic documents from XML files or databases
- Use PDF's many interactive features
- Add bookmarks, page numbers, watermarks, etc.
- Split, concatenate, and manipulate PDF pages
- Automate filling out of PDF forms
- Add digital signatures to a PDF file
- And much more...
- 将 PDF 提供给浏览器
- 从 XML 文件或数据库生成动态文档
- 使用 PDF 的许多交互功能
- 添加书签、页码、水印等。
- 拆分、连接和操作 PDF 页面
- 自动填写 PDF 表单
- 将数字签名添加到 PDF 文件
- 以及更多...
回答by Robert S.
I don't know if it's the best, but I use PDF-Writer.NET, for which I paid $89. I have used it in several production applications. I like it because it's easy to set up and use, and it doesn't require a lot of coding, which makes it easier for new developers to ramp up on it.
我不知道它是否是最好的,但我使用了PDF-Writer.NET,为此我支付了 89 美元。我已经在几个生产应用程序中使用过它。我喜欢它是因为它易于设置和使用,并且不需要大量编码,这使得新开发人员更容易上手。
Before that I was hacking together PDFs using an open source library and the Acrobat interop DLLs. That was rough.
在此之前,我使用开源库和 Acrobat 互操作 DLL 将 PDF 组合在一起。那很粗糙。
回答by Sumit
Check out Aspose.Pdf for .NET. It has a nice API, is well documented and has a light footprint.
查看Aspose.Pdf for .NET。它有一个很好的 API,有很好的文档记录并且占用空间很小。
回答by AJ.
I've researched quite a few tools that aren't offered specifically by Adobe, and the two that come to mind right away are Atalasoft's DotImageand LEADTools. They are both rather pricy, but provide server licensing and use the ultra-fast C++ GDI libraries.
我研究了很多不是由 Adobe 专门提供的工具,我马上想到的两个是Atalasoft 的 DotImage和LEADTools。它们都相当昂贵,但提供服务器许可并使用超快的 C++ GDI 库。
There's a freeware .Net library called PDFSharpthat uses .Net native GDI+, so it's slower and memory intensive. But then again, it's free.
有一个名为PDFSharp的免费软件 .Net 库,它使用 .Net 原生 GDI+,因此速度较慢且占用大量内存。但话又说回来,它是免费的。
回答by thmsn
Not sure about the PDF part but Aspose has a library for PDF. I've used their word library for generating word documents. their documentation is very decent in my opinion.
不确定 PDF 部分,但 Aspose 有一个 PDF 库。我使用他们的词库来生成 Word 文档。在我看来,他们的文档非常体面。
http://www.aspose.com/categories/file-format-components/aspose.pdf-for-.net-and-java/default.aspx
http://www.aspose.com/categories/file-format-components/aspose.pdf-for-.net-and-java/default.aspx
回答by Keltex
I've used http://www.tallcomponents.com/mainly to fill in pdf forms and then flatten the pdf. Seems to work fine. I haven't had any issues.
我主要使用http://www.tallcomponents.com/来填写 pdf 表格,然后将 pdf 展平。似乎工作正常。我没有任何问题。
回答by AffineMesh
webSupergoo have a super PDF library for .NET
webSupergoo 有一个用于 .NET 的超级 PDF 库
Their ABCpdf product is designed for use with web servers. The documentation is clear and the installation is accompanied by an example website project.
他们的 ABCpdf 产品设计用于 Web 服务器。文档清晰,安装过程中附有示例网站项目。
If you visit their website you should see a link to the live demonstration:
如果您访问他们的网站,您应该会看到现场演示的链接:
http://www.websupergoo.com/abcpdf-1.htm
http://www.websupergoo.com/abcpdf-1.htm
ABCpdf 7 is the current version. The performance and reliability is excellent. The standard version costs $329 USD, but sometimes an installation can be obtained for free. The download size is about 30 MB. Supports both 32 and 64-bit servers.
ABCpdf 7 是当前版本。性能和可靠性非常好。标准版售价 329 美元,但有时可以免费获得安装。下载大小约为 30 MB。支持 32 位和 64 位服务器。
回答by Michael John
Syncfusion Essential PDFis the best. I have been using it for years. Also, Syncfusion provides a best support compared to other vendors.
Syncfusion Essential PDF是最好的。我已经使用它多年了。此外,与其他供应商相比,Syncfusion 提供了最好的支持。