L_Doc2GetHandPrintOptionsExt

#include "ltdoc2.h"

L_LTDOC2_API L_INT L_Doc2GetHandPrintOptionsExt(hDoc, nDocId, pHandOpts, uStructSize)

Gets the current hand print options used by the OCR document engine.

Parameters

L_HDOC2 hDoc

Handle to the OCR document.

L_INT nDocId

Document ID created by calling L_Doc2CreateDocument.

pHANDPRINTOPTIONS2 pHandOpts

Pointer to a HANDPRINTOPTIONS2 structure to be updated.

L_UINT uStructSize

Size in bytes, of the structure pointed to by pHandOpts. Use sizeof(HANDPRINTOPTIONS2) to calculate this value.

Returns

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

Comments

These options are used only when the recognition module is DOC2_RECOGMODULE_HAND_PRINTED_NUMERAL.

To update the hand print options, call the L_Doc2SetHandPrintOptions / L_Doc2SetHandPrintOptionsExt function.

To recognize a page, call the L_Doc2Recognize / L_Doc2RecognizeExt function.

Required DLLs and Libraries

Help Version 21.0.2021.1.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - OmniPage Engine C API Help