// instantiate License object com.aspose.html.License license = new com.aspose.html.License(); // license file path information license.setLicense("Aspose.HTML.lic");