After product purchase you receive a license key string and you have to set the LicenseKey property of the appropriate object in the code of your application to unlock the product and remove the evaluation message from the generated PDF documents and images.

There are a few classes having a LicenseKey property and you have to set this property for each object of these classes you created in your application:

All our demo applications are using a demo license key. In order to quickly check the license key you purchased you can replace the demo license key with your purchased license key in one of these demo applications. The demo message should disappear from the generated PDF documents and images.

Code Sample - Setting the License Key

C# Copy imageCopy
//create a PDF document
Document document = new Document();
// set the license key
document.LicenseKey = "B4mYiJubiJiInIaYiJuZhpmahpGRkZE=";

// create the PDF converter
PdfConverter pdfConverter = new PdfConverter();
// set the license key
pdfConverter.LicenseKey = "B4mYiJubiJiInIaYiJuZhpmahpGRkZE=";

// create the Image converter
ImgConverter imgConverter = new ImgConverter();
// set the license key
imgConverter.LicenseKey = "B4mYiJubiJiInIaYiJuZhpmahpGRkZE=";

See Also