Nicomsoft OCR: Developer's Guide


Engine_SetLicenseKey


Syntax

C++:int Engine_SetLicenseKey(UNICODECHAR* LicenseKey)
C#:int Engine_SetLicenseKey(string LicenseKey)
Visual Basic:Function Engine_SetLicenseKey(ByVal LicenseKey As String) As Integer
Java:int Engine_SetLicenseKey(String LicenseKey)
Delphi:function Engine_SetLicenseKey(LicenseKey: PWCHAR):integer


Description

Sets the license key for licensed version of NSOCR. This function must be called before calling the Engine_Initialize or Engine_InitializeAdvanced functions.


Parameters

LicenseKey [IN] – a Unicode, null-terminated string that contains the license key.


Return value

Zero if success, otherwise an error code.


Remarks

This function is not used in trial version of NSOCR library.


Example

None.