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_DocGetCharLangsOptions

Show in webframe

#include "ltdoc.h"

L_LTDOC_API L_INT L_DocGetCharLangsOptions(hDoc, pCharOpts, uStructSize)

L_HDOC hDoc;

/* handle to the OCR document */

pCHAROPTIONS pCharOpts;

/* pointer to a CHAROPTIONS structure */

L_UINT uStructSize;

/* size of the structure */

Gets the current character options for the current activated languages.

Parameter

Description

hDoc

Handle to the OCR document.

pCharOpts

Pointer to a CHAROPTIONS structure to be updated.

uStructSize

Specifies the size of the structure pointed to by pCharOpts, use sizeof(CHAROPTIONS) to calculate this value.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Gets the current character options for the current activated languages in the OCR document engine.

To activate recognized languages, call L_DocSelectLanguages.

To update the character options for the current activated languages, call L_DocSetCharLangsOptions.

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_DocFreeLanguages, L_DocSetCharLangsOptions, L_DocIsCharEnabled, L_DocGetDefaultSpellLanguages

Topics:

OCR Functions: Languages

 

Working with Languages

Example

For an example, refer to L_DocSelectLanguages.

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