![]() |
VOOZH | about |
dotnet add package iTextSharp.LGPLv2.Core --version 3.8.0
NuGet\Install-Package iTextSharp.LGPLv2.Core -Version 3.8.0
<PackageReference Include="iTextSharp.LGPLv2.Core" Version="3.8.0" />
<PackageVersion Include="iTextSharp.LGPLv2.Core" Version="3.8.0" />Directory.Packages.props
<PackageReference Include="iTextSharp.LGPLv2.Core" />Project file
paket add iTextSharp.LGPLv2.Core --version 3.8.0
#r "nuget: iTextSharp.LGPLv2.Core, 3.8.0"
#:package iTextSharp.LGPLv2.Core@3.8.0
#addin nuget:?package=iTextSharp.LGPLv2.Core&version=3.8.0Install as a Cake Addin
#tool nuget:?package=iTextSharp.LGPLv2.Core&version=3.8.0Install as a Cake Tool
iTextSharp.LGPLv2.Core is an unofficial port of the last LGPL version of the iTextSharp (V4.1.6) to .NET Core.
To install iTextSharp.LGPLv2.Core, run the following command in the Package Manager Console:
PM> Install-Package iTextSharp.LGPLv2.Core
You can also view the package page on NuGet.
The SkiaSharp library needs extra dependencies to work on Linux and containers. Please install the following NuGet packages:
PM> Install-Package SkiaSharp.NativeAssets.Linux.NoDependencies
PM> Install-Package HarfBuzzSharp.NativeAssets.Linux
You also need to modify your .csproj file to include some MSBuild directives that ensure the required files are in a good place. These extra steps are normally not required but seems to be some issues on how .NET loads them.
<Target Name="CopyFilesAfterPublish" AfterTargets="AfterPublish">
<Copy SourceFiles="$(TargetDir)runtimes/linux-x64/native/libSkiaSharp.so" DestinationFolder="$([System.IO.Path]::GetFullPath('$(PublishDir)'))/bin/" />
<Copy SourceFiles="$(TargetDir)runtimes/linux-x64/native/libHarfBuzzSharp.so" DestinationFolder="$([System.IO.Path]::GetFullPath('$(PublishDir)'))/bin/" />
</Target>
The pdf is created, but when I try to view it, it says that the document is in use by another process.
You should dispose the FileStream/MemoryStream explicitly. It won't be closed and disposed automatically at the end.
I can't find what would be the equivalent of the PdfTextExtractor class.
PdfTextExtractor exists in v5.0.2+ with AGPL license (Current project is based on the iTextSharp 4.x, not 5.x).
It can't display Unicode characters.
You can find more samples about how to define and use Unicode fonts here.
Table rowspans don't work correctly.
This version which is based on iTextSharp V4.1.6 doesn't support rowspans correctly (iTextSharp supports row spans correctly since v5.4.3, not before that). A solution based on the current version: use nested tables to simulate it.
iTextSharp.text.html.simpleparser.HTMLWorker does not exist.
It has been renamed to HtmlWorker.
You have three license choices when it comes to iTextSharp: LGPL/MPL, AGPL, or a commercial license. The LGPL/MPL license is only an option with the older 4.1.6 version (used here). After that version, they switched to a dual AGPL/Commercial.
If you need a more recent version, you either have to make your project open-source or pay the license fee.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 is compatible. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 is compatible. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on iTextSharp.LGPLv2.Core:
| Package | Downloads |
|---|---|
|
PdfRpt.Core
PdfReport.Core is a code first reporting engine, which is built on top of the iTextSharp.LGPLv2.Core and EPPlus.Core libraries. |
|
|
DYKJ.Framework
DYKJ.Framework |
|
|
DNTCommon.Web.Core
DNTCommon.Web.Core provides common scenarios' solutions for ASP.NET Core applications. |
|
|
Messaia.Net.iTextExtensions
iTextSharp Extensions |
|
|
BlueBox.Core
Core Framework |
Showing the top 4 popular GitHub repositories that depend on iTextSharp.LGPLv2.Core:
| Repository | Stars |
|---|---|
|
majorsilence/Reporting
Majorsilence Reporting, .NET report designer, viewer, and pdf creation.
|
|
|
VahidN/PdfReport.Core
PdfReport.Core is a code first reporting engine, which is built on top of the iTextSharp.LGPLv2.Core and EPPlus.Core libraries
|
|
|
Serg-Norseman/GEDKeeper
GEDKeeper - program for work with personal genealogical database
|
|
|
VahidN/DNTCommon.Web.Core
DNTCommon.Web.Core provides common scenarios' solutions for ASP.NET Core applications.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 3.8.0 | 8,107 | 6/6/2026 |
| 3.7.12 | 377,744 | 11/25/2025 |
| 3.7.11 | 127,925 | 11/25/2025 |
| 3.7.10 | 1,718 | 11/25/2025 |
| 3.7.9 | 52,594 | 11/14/2025 |
| 3.7.8 | 33,771 | 11/5/2025 |
| 3.7.7 | 97,784 | 9/27/2025 |
| 3.7.6 | 73,266 | 9/12/2025 |
| 3.7.5 | 25,574 | 9/5/2025 |
| 3.7.4 | 296,883 | 5/23/2025 |
| 3.7.3 | 7,800 | 5/21/2025 |
| 3.7.2 | 127,613 | 4/22/2025 |
| 3.7.1 | 248,998 | 2/20/2025 |
| 3.7.0 | 95,393 | 1/28/2025 |
| 3.6.0 | 141,854 | 1/11/2025 |
| 3.5.1 | 46,495 | 1/1/2025 |
| 3.5.0 | 8,770 | 12/28/2024 |
| 3.4.26 | 10,358 | 12/27/2024 |
| 3.4.25 | 101,138 | 12/6/2024 |
| 3.4.24 | 12,748 | 12/2/2024 |