Getting started with iText 7 .NET

iText 7 is available under two licenses:
Click the arrow to expand information about our libraries.

Download instructions are identical for both, and fully explained below.


Compatibility Matrix

iText 7 Core7.0.07.0.17.0.27.0.37.0.47.0.57.1.0

License Key

3.0.0

Yes

Yes

Yes

Yes

Yes

Yes

Yes

pdf2Data

1.2.0

-

-

Yes

Yes

Yes

Yes

Yes

pdfCalligraph

2.0.0

-

-

-

-

-

-

Yes

pdfDebug

2.0.0

-

Yes

Yes

Yes

Yes

Yes

Yes

pdfHTML

2.0.0

-

-

-

-

-

-

Yes

pdfInvoice

2.0.0

-

Yes

Yes

Yes

Yes

Yes

Yes

pdfSweep

2.0.0

-

-

-

-

-

Yes

Yes

pdfXFA

2.0.0

Yes

Yes

Yes

Yes

Yes

Yes

Yes


How to download iText 7 Community?

Automated dependency management for iText 7 Community .NET

All modules are available in a single NuGet package, which you can find by typing Install-Package itext7 in the NuGet Package Manager.

iText 7 Community .NET on GitHub

The source code is available on GitHub. Our current latest version is iText 7.1.0, which was launched on December 6, 2017.

  • You can download the modules (.nupkg) of iText 7 Community in a single ZIP file for .NET. version iText 7 Community.
  • Developers can clone the following git projects to access the source code .NET version iText 7 Community.
  • Download pdfHTML.NET version pdfHTML.
  • Download pdfSweep .NET version pdfSweep.
  • Download pdfInvoice.NET version pdfInvoice.


How to download iText 7 Core and add-ons?

License key and library

If you've purchased a commercial license for iText 7 and/or its add-ons, you have a license key. To properly use it, that means you're going to have to download the proper license key library. Read more about the license key libaries. An FAQ about the license key can be found here.

Using the NuGet Gallery

iText 7 Core and add-ons for .NET are available on NuGet. The iText 7 license key library is a required dependency for these packages, so it will automatically be installed as well.
You can install iText 7 Core by typing the following command in the NuGet Package Manager:

  • Install-Package itext7

For the iText 7 add-ons:

  • Install-Package itext7.pdfsweep
  • Install-Package itext7.pdfcalligraph
  • Install-Package itext7.pdfinvoice
  • Install-Package itext7.pdfhtml
  • Install-Package itext7.pdfxfa
  • Install-Package itext7.licensekey

Using the iText Artifactory server

The iText 7 NuGet packages are also available on the iText Artifactory server. You can add it as a custom NuGet repository to Visual Studio. In the NuGet Package Manager, go to the settings and add the following URL as a package source: https://repo.itextsupport.com/api/nuget/nuget

You can also browse the iText Artifactory server and download NuGet packages manually.


License key libraries

The licensekey library (itextsharp.licensekey.dll) needs to be added as a reference to your project. It can be downloaded from our repository or through NuGet. You can add our NuGet repo to your NuGet Packet Manager by adding this URL as a source: https://repo.itextsupport.com/api/nuget/nuget
NOTE:

  • You need the latest version when using iText 7.1, the current version is 3.0.0. Older versions (1.x.y) can only be used in combination with iText 5.

  • With the introduction of version 3.0.0 of the license key library, we also released a volume based counting mechanism. The mechanism works with an event system. iText and its add-ons will send events through this event system. When a volume license key file has been loaded, the statistics concerning usage will be sent to our servers. This means the machine that runs your application needs an active Internet connection. Click here to read our guid showing you how to enable the automated monitoring of volume licenses (Capacity Rental License).

The license file (typically itextkey.xml) needs to be loaded before calling the proprietary code. This is done using the static method LoadLicenseFile() of the LicenseKey class: LicenseKey.LoadLicenseFile(“path/to/itextkey.xml”).


How to uninstall iText 7 Community or Core?

.NET version - NuGet

To uninstall iText 7 follow below steps:

  1. Take the iText code out of your project.
  2. Run the NuGet Package Manager command Uninstall-Package itext7 -RemoveDependencies.
Reference: https://docs.microsoft.com/en-us/nuget/tools/powershell-reference#uninstall-package