L_Doc2GetCharLangsOptions

#include "ltdoc2.h"

L_LTDOC2_API L_INT EXT_FUNCTION L_Doc2GetCharLangsOptions(hDoc, pCharOpts, uStructSize)

Gets the current character options for the currently activated languages.

Parameters

L_HDOC2 hDoc

Handle to the OCR document.

pCHAROPTIONS2 pCharOpts

Pointer to a CHAROPTIONS2 structure to be updated.

L_UINT uStructSize

Size in bytes, of the structure pointed to by pCharOpts, use sizeof(CHAROPTIONS2) to calculate this value.

Returns

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

Comments

To activate recognized languages, call the L_Doc2SelectLanguages / L_Doc2SelectLanguagesExt function.

To update the character options for the current activated languages, call the L_Doc2SetCharLangsOptions / L_Doc2SetCharLangsOptionsExt function.

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.