创建 PDF 的最佳 C# API

发布于 2024-09-03 03:51:41 字数 46 浏览 2 评论 0原文

您能推荐任何适用于 C# 的 PDF API吗?免费是最好的,但我不介意付费。

Can you recomend any PDF API for C#. Free is the best, but I don't mind paying for it.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

守护在此方 2024-09-10 03:51:41

我使用了 PdfSharp。它是免费的,开源的,使用起来相当方便,但我不能说它是否是最好的,因为我还没有真正使用过其他东西。

I used PdfSharp. It's free, open source and quite convenient to use, but I can't say whether it is the best or not, because I haven't really used anything else.

两人的回忆 2024-09-10 03:51:41

更新:

我不确定 iText# 库的许可证何时或是否更改,但它是根据 AGPL 获得许可的,这意味着如果包含在闭源产品中,则必须获得许可。该问题(目前)不需要免费或开源库。人们应该始终调查项目中使用的任何库的许可证类型。


我已经在 .NET C# 3.5 中成功使用了 iText#;它是用于 PDF 生成的开源 Java 库的一个端口,而且是免费的。

有一个可用于 iTextSharp 版本 5 和 官方开发人员文档,以及 C# 示例,可在 itextpdf.com 上找到

Update:

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.


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.

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

故事和酒 2024-09-10 03:51:41

我在 C# 中生成 PDF 的首选是 Winnovative 的 PDF 生成器。虽然我们主要使用它来将 HTML 转换为 PDF,但它的多功能性足以有效地处理各种 PDF 生成任务。

My go-to choice for PDF generation in C# is Winnovative's PDF generator. While we primarily utilize it for converting HTML to PDF, it's versatile enough to handle various PDF generation tasks efficiently.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文