I upgraded to iText 7, how do I use my license

Category: 
Tags: License Key

The same way you loaded the iText 5 license. To load a license key, use the following line of code:

Java

LicenseKey.loadLicenseFile("path/to/itextkey.xml");

C#

LicenseKey.LoadLicenseFile("path/to/itextkey.xml");

You do need to be aware of the following:

  • You need to use iText 7

  • You need to load your iText 7 license file and disregard your iText 5 license

  • You need to use the license key library version 2.x.y