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_Doc2GetDefaultSpellLanguages

Show in webframe

#include "ltdoc2.h"

L_LTDOC2_API L_INT EXT_FUNCTION L_Doc2GetDefaultSpellLanguages(hDoc, ppLangIds, pnLangCount)

L_HDOC2 hDoc;

/* handle to the OCR document */

DOC2_LANGIDS ** ppLangIds;

/* pointer to array to be updated */

L_INT * pnLangCount;

/* pointer to integer to be updated */

Gets the default spell languages from the OCR document engine.

Parameter

Description

hDoc

Handle to the OCR document.

ppLangIds

Pointer to DOC2_LANGIDS array to be updated with the default spell languages.

pnLangCount

Pointer to an integer to be updated with the language element counts.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

All available languages are the default languages and are always used when checking spelling.

The content of the resulting list depends on the configuration of the OCR document engine, that is, which Language dictionary files are in the engine Binary directory. For a list of supported languages, refer to the Language Dictionary List function.

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.

See Also

Functions:

L_Doc2GetSupportedLanguages, L_Doc2GetLanguageFriendlyName, L_DOC2GetSupportedLanguages, L_Doc2SelectLanguages, L_Doc2GetSelectedLanguages, L_Doc2FreeLanguages, L_Doc2SetCharLangsOptions, L_Doc2GetCharLangsOptions, L_Doc2Recognize

Topics:

OCR Functions: Languages

 

Working with Languages

Example

For an example, refer to L_Doc2Recognize.

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