Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS OCR C DLL Help

L_DocFreeLanguages

Show in webframe

#include "ltdoc.h"

L_LTDOC_API L_INT L_DocFreeLanguages(hDoc, ppLangIds)

L_HDOC hDoc;

/* handle to the OCR document */

LANGIDS ** ppLangIds;

/* pointer to the array to be freed */

Frees the language array.

Parameter

Description

hDoc

Handle to the OCR document.

ppLangIds

Pointer to LANGIDS array that will be freed. This array is originally allocated using L_DocGetSelectedLanguages.

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 L_DocGetSelectedLanguages.

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

Required DLLs and Libraries

LTDOC

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:

L_DocSelectLanguages, L_DocGetSelectedLanguages, L_DocSetCharLangsOptions, L_DocGetCharLangsOptions, L_DocIsCharEnabled, L_DocGetDefaultSpellLanguages

Topics:

OCR Functions: Languages

 

Working with Languages

Example

For an example, refer to L_DocGetSelectedLanguages.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.