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:
The HtmlToPdfConverterLicenseKey must be set when you use the HtmlToPdfConverter class to produce PDF documents
The DocumentLicenseKey must be set when you use the Document class to create PDF documents
The HtmlToImageConverterLicenseKey must be set when you use the HtmlToImageConverter class to produce raster images
The HtmlToSvgConverterLicenseKey must be set when you use the HtmlToSvgConverter class to produce raster images
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.
// Create a PDF document Document pdfDocument = new Document(); // Set license key received after purchase to use the converter in licensed mode // Leave it not set to use the converter in demo mode pdfDocument.LicenseKey = "4W9+bn19bn5ue2B+bn1/YH98YHd3d3c="; // Create a HTML to PDF converter object with default settings HtmlToPdfConverter htmlToPdfConverter = new HtmlToPdfConverter(); // Set license key received after purchase to use the converter in licensed mode // Leave it not set to use the converter in demo mode htmlToPdfConverter.LicenseKey = "4W9+bn19bn5ue2B+bn1/YH98YHd3d3c="; // Create a HTML to Image converter object with default settings HtmlToImageConverter htmlToImageConverter = new HtmlToImageConverter(); // Set license key received after purchase to use the converter in licensed mode // Leave it not set to use the converter in demo mode htmlToImageConverter.LicenseKey = "4W9+bn19bn5ue2B+bn1/YH98YHd3d3c="; // Create a HTML to SVG converter object with default settings HtmlToSvgConverter htmlToSvgConverter = new HtmlToSvgConverter(); // Set license key received after purchase to use the converter in licensed mode // Leave it not set to use the converter in demo mode htmlToSvgConverter.LicenseKey = "4W9+bn19bn5ue2B+bn1/YH98YHd3d3c=";