L_Doc2FreeLanguages

#include "ltdoc2.h"

L_LTDOC2_API L_INT EXT_FUNCTION L_Doc2FreeLanguages(hDoc, ppLangIds)

L_HDOC2 hDoc;

handle to the OCR document

DOC2_LANGIDS ** ppLangIds;

pointer to the array to be freed

Frees the language array.

Parameter

Description

hDoc

Handle to the OCR document.

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

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

LTDOC2

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Professional OCR C API Help