#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrMemory_Free()
Use this function to free the memory the toolkit allocates after calling some of the toolkit functions, check the comments section for list of these function.
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Use this function to free the memory the toolkit allocates after calling some of the toolkit functions, below is list of these functions:
L_OcrSettingManager_GetSettingDescriptors
L_OcrSettingManager_GetEnumValueAsString
L_OcrSettingManager_GetStringValue
L_OcrLanguageManager_GetSupportedLanguages
L_OcrLanguageManager_GetAdditionalLanguages
L_OcrLanguageManager_GetEnabledLanguages
L_OcrSpellCheckManager_GetSupportedLanguages
L_OcrAutoRecognizeJob_GetErrors
Required DLLs and Libraries
LTOCR For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
For an example, refer to L_OcrPage_GetText.