L_LTDOC2_API L_INT L_Doc2GetMOROptionsExt(hDoc, nDocId, pMOROpts, uStructSize)
Gets the current MOR recognition options used by the OCR document engine.
Handle to the OCR document.
Document ID created by calling L_Doc2CreateDocument.
Pointer to a MOROPTIONS2 structure to be updated.
Size in bytes, of the structure pointed to by pMOROpts. Use sizeof(MOROPTIONS2) to calculate this value.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
The MOR options are only used if the recognition module is DOC2_RECOGMODULE_MULTI_LINGUAL_OMNIFONT.
Required DLLs and Libraries
For an example, refer to L_Doc2SetMOROptionsExt.