TE Edit Control Win32 / Win64 Help
Product page

TerSetHtmlAddOnKey

Set the license key for Html Add-on.

bool TerSetAddOnKey(LicenseKey)
string LicenseKeyThe license key for Html Add-on is e-mailed to you after your order for Html Add-on is processed.

The license key for Html Add-on is e-mailed to you after your order for Html Add-on is processed. You would set the license key for Html Add-on using the TerSetHtmlAddOnKey static function. This should be preferably be done before creating a TE control instance to avoid eval pop-up screens.

TerSetHtmlAddOnKey("xxxxx-yyyyy-zzzzz")

Replace the 'xxxxx-yyyyy-zzzzz' by your license key for Html Add-on. Please note that your license key for TE Edit Control is not valid for Html Add-on.

Return Value: This function returns True if successful.

Comment: The license key for Html Add-on can also be set using the HtmlAddOnKey property of the ActiveX control:

toc.HtmlAddOnKey="xxxxx-yyyyy-zzzzz"