L_Doc2FreeLanguages

#include "ltdoc2.h"

L_LTDOC2_API L_INT EXT_FUNCTION L_Doc2FreeLanguages(hDoc, ppLangIds)

Frees the language array.

Parameters

L_HDOC2 hDoc

Handle to the OCR document.

DOC2_LANGIDS ** ppLangIds

Pointer to a DOC2_LANGIDS array that will be freed. This array is originally allocated using any of the functions L_Doc2GetSupportedLanguages or L_Doc2GetSelectedLanguages.

Returns

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

Comments

Frees the associated memory for the ppLangIds parameter, allocated by a previous call to the L_Doc2GetSelectedLanguages function.

Call this function after calling the L_Doc2GetSelectedLanguages function, when the ppLangIds array is no longer needed.

Required DLLs and Libraries

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

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