L_Doc2GetCharLangsOptionsExt

#include "ltdoc2.h"

L_LTDOC2_API L_INT L_Doc2GetCharLangsOptionsExt(hDoc, nDocId, pCharOpts, uStructSize)

Gets the current character options for the currently activated languages.

Parameters

L_HDOC2 hDoc

Handle to the OCR document.

L_INT nDocId

Document ID created by calling L_Doc2CreateDocument.

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

L_Doc2GetCharLangsOptionsExt gets the current character options for the currently activated languages.

To activate recognized languages, call L_Doc2SelectLanguages / L_Doc2SelectLanguagesExt.

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.4.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - OmniPage Engine C API Help