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 = "fvDh8eDx4fHg4P/h8eLg/+Dj/+jo6Og="; // 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 = "fvDh8eDx4fHg4P/h8eLg/+Dj/+jo6Og="; // 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 = "fvDh8eDx4fHg4P/h8eLg/+Dj/+jo6Og="; // 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 = "fvDh8eDx4fHg4P/h8eLg/+Dj/+jo6Og=";