#include "ltdoc2.h"
L_LTDOC2_API L_INT EXT_FUNCTION L_Doc2GetOMROptions(hDoc, pOMROpts, uStructSize)
Gets the current OMR recognition options used by the OCR document engine.
Handle to the OCR document.
Pointer to OMROPTIONS2 structure to be updated.
Size in bytes, of the structure pointed to by pOMROpts, use sizeof(OMROPTIONS2) 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_OMR.
To update the OMR options, call the L_Doc2SetOMROptions / L_Doc2SetOMROptionsExt function.
To recognize a page, call the L_Doc2Recognize / L_Doc2RecognizeExt function.
Required DLLs and Libraries
For an example, refer to L_Doc2SetOMROptions.