#include "ltdoc2.h"
L_LTDOC2_API L_INT EXT_FUNCTION L_Doc2GetHandPrintOptions(hDoc, pHandOpts, uStructSize)
Gets the current hand print options used by the OCR document engine.
Handle to the OCR document.
Pointer to a HANDPRINTOPTIONS2 structure to be updated.
Size in bytes, of the structure pointed to by pHandOpts, use sizeof(HANDPRINTOPTIONS2) to calculate this value.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
These options will be 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
For an example, refer to L_Doc2SetHandPrintOptions.