iTextSharp与iText [英] iTextSharp vs iText
问题描述
我正在重新设计使用iText 1.4.6.2的旧式ASP.Net Web窗体应用程序
I am re-engineering legacy ASP.Net Web Forms application that uses iText 1.4.6.2
新应用程序将使用ASP.Net MVC,但我不清楚iText组件的较新版本.
New application will use ASP.Net MVC but I am not clear on newer version of iText component.
在NuGet存储库中,有iTextSharp 5.5.10(由Bruno Lowagie等人提供)和iText 7.0.1(由iText软件提供).这两个软件包之间的关系/区别是什么(两者最近都已更新)?
In NuGet repository there is iTextSharp 5.5.10 (by Bruno Lowagie et al) and iText 7.0.1 (by iText software). What is the relationship/difference between these two packages (both have been updated recently)?
其他问题:
对于新开发,推荐什么?
What is recommended for new development?
使用iText 1.4.6.2,哪个版本需要对旧版PDF生成代码进行最少的更改?
What version will require the least changes in legacy PDF generation code using iText 1.4.6.2?
推荐答案
发布
iText 7.x是该库的最新版本,其比较细分如下,详细说明在iText的变更日志中 :
iText 7.x is the latest version of the library, and the comparison breaks down as follows as detailed in iText's changelog :
- iText 0.x(Java)(2000-2006)
- iText的第一个版本于2000年情人节发布.这意味着iText已有17岁.
- 该库的版本非常受欢迎,但是不再受支持,并且不应再用于商业环境(请参见
- 2009年,许可证从LGPL/MPL更改为AGPL.
- iTextSharp被设计为库的.NET端口,并且在发布iText 5.0.0/iTextSharp 5.0.0.0时对发行版号进行了同步.
- 在Java中,该库已移至Java 5.
- 这是专业化的开始.该库得到了一家公司的支持,收益被用于专注于修复错误,标准化和性能.
- 完整的重写,着眼于可扩展性和模块化.
- 我们不再谈论iTextSharp,我们谈论Java的iText和.Net(C#)的iText.
- Java版本已移至Java 7.
- 之前,所有代码都是从Java手动移植到C#的.从iText 7开始,Java代码会自动移植到C#.
iText与iTextSharp
从历史概览中可以看出,iTextSharp始终与iText保持同步,但是在版本5之前,版本号有所不同.从版本7开始,不再使用名称iTextSharp来支持使用名称iText.
As you can tell from the historical overview, iTextSharp has always been kept in sync with iText, but before version 5, there was a difference in version numbers. Starting with version 7, the name iTextSharp is no longer used in favor of using the name iText.
iText 2.x(和更早版本)与iText 5.x
您可以在下面查看iText和iTextSharp产品的功能比较表:
iText 5.x和iText 7.x
iText 7.x似乎是对iText 5.x的完整从头开始"重写,以使其更加模块化,可配置和可扩展.
iText 7.x appears to be a complete "from scratch" re-write of iText 5.x in order to make it more modular, configurable, and extensible.
您可以在此处找到详细的博客文章iText 5.x和iText 7.x之间的许多更改.
这篇关于iTextSharp与iText的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!