How to install your new iText license.
LicenseKey class. When you load a volume license key, the license key library will set up everything for you—there is no need to set up any additional counter or logger. Also, once a license key has been loaded it is active for the entire CLR/JVM runtime, if you have multiple CLRs or JVMs accessing the same license key you should provide a copy of the license key for each CLR/JVM.
To load the license key file, you'll need to call the following lines of code:
For iText 7.2.x
In the following examples the license key file has been renamed to "itextkey.json" for convenience.
To load a license key, use the following line of code:
For iText 7.1.x
In the following examples the license key file has been renamed to "itextkey.xml" for convenience.
- If you're using iText 7 Suite version 7.1.18 (or older) you'll need to use version 3.x.y of the license key library.
To load a license key, use the following line of code:.
- If you've upgraded from iText 5 it is loaded in the same way as the iText 5 license.
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 4.x.y for iText version 7.2.x, and 3.x.y for iText version 7.1.x and older. For older iText versions, you can check the (Compatibility Matrix).