L_OcrMemory_Free

Summary

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.

Syntax

#include "ltocr.h"

L_LTOCR_API L_INT EXT_FUNCTION L_OcrMemory_Free()

Returns

Value Description
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

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_OcrSettingManager_GetValue

L_OcrLanguageManager_GetSupportedLanguages

L_OcrLanguageManager_GetAdditionalLanguages

L_OcrLanguageManager_GetEnabledLanguages

L_OcrSpellCheckManager_GetSupportedLanguages

L_OcrPage_GetZoneCells

L_OcrPage_GetText

L_OcrPage_DetectLanguages

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.

See Also

Functions

Topics

Example

For an example, refer to L_OcrPage_GetText

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - LEAD Engine C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.