Licensing |
A unique license key string is generated for each purchase. In order to unlock the HTML to PDF Converter product, you have to set the LicenseKey property of the PdfConverter class (when converting to PDF) or of the ImgConverter class (when converting to image) with the license key string you have received after the product purchase.
Also, if Document, HtmlToPdfElement, HtmlToImageElement or HtmlToPdfArea objects are used, the LicenseKey property needs to be set for each object that is instantiated.
The license key contains the information about the purchased product like the product version and license type and is uniquely associated with an order ID.
A license key is valid for the major version it was issued for: version 22 needs a version 22 license key. Without a valid license key the converter works in evaluation mode and adds an evaluation notice to the generated documents.
Here is how you can set the License Key in code: