创建 PDF 的最佳 C# API [英] Best C# API to create PDF
问题描述
你能推荐任何适用于 C# 的 PDF API.免费是最好的,但我不介意付费.
Can you recomend any PDF API for C#. Free is the best, but I don't mind paying for it.
推荐答案
更新:
我不确定 iText# 库 的许可证何时或是否发生变化,但是它在 AGPL 下获得许可,这意味着如果包含它必须获得许可使用闭源产品.这个问题(目前)不需要免费或开源库.应始终调查项目中使用的任何库的许可类型.
I'm not sure when or if the license changed for the iText# library, but it is licensed under AGPL which means it must be licensed if included with a closed-source product. The question does not (currently) require free or open-source libraries. One should always investigate the license type of any library used in a project.
我在 .NET C# 3.5 中成功使用了 iText#;它是用于生成 PDF 的开源 Java 库的一个端口,并且是免费的.
I have used iText# with success in .NET C# 3.5; it is a port of the open source Java library for PDF generation and it's free.
有一个 NuGet 包可用于 iTextSharp 版本 5 和 官方开发人员文档,以及 C# 示例,可在 itextpdf.com 上找到
There is a NuGet package available for iTextSharp version 5 and the official developer documentation, as well as C# examples, can be found at itextpdf.com
这篇关于创建 PDF 的最佳 C# API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!