LEADTOOLS OCR C DLL Help > Function References > OCR Plus > L_DocGetMOROptions |
#include "ltdoc.h"
L_LTDOC_API L_INT L_DocGetMOROptions(hDoc, pMOROpts, uStructSize)
L_HDOC hDoc; |
/* handle to the OCR document */ |
pMOROPTIONS pMOROpts; |
/* pointer to a MOROPTIONS structure */ |
L_UINT uStructSize; |
/* size of the structure */ |
Gets the MOR recognition options from the OCR document engine.
Parameter |
Description |
hDoc |
Handle to the OCR document. |
pMOROpts |
Pointer to MOROPTIONS structure to be updated. |
uStructSize |
Specifies the size of the structure pointed to by pMOROpts, use sizeof(MOROPTIONS) to calculate this value. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
Gets the current MOR options used by the OCR document engine.
These options will be used only when the recognition module is RECOGMODULE_MULTI_LINGUAL_OMNIFONT.
To update the MOR options, call L_DocSetMOROptions.
To recognize a page, call L_DocRecognize.
Required DLLs and Libraries
LTDOC For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
See Also
Functions: |
L_DocSetRecognizeModuleTradeOff, L_DocGetRecognizeModuleTradeOff, L_DocSetMOROptions, L_DocSetHandPrintOptions, L_DocGetHandPrintOptions, L_DocSetOMROptions, L_DocGetOMROptions |
Topics: |
|
|
Example
For an example, refer to L_DocSetMOROptions.