Specifies the trade-off setting of the OCR document engine that will be applied during auto-zoning and recognition.
Handle to the OCR document.
Value that represents the trade-off setting to be used. For a list of possible values, refer to DOC2_RECOGMODULE_TRADEOFF.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
Specifies the trade-off setting (speed, accuracy or both) of the OCR document engine that will be used during auto-zoning and recognition.
The OCR document engine trade-off setting is effective for the following recognition modules:
This setting does not influence the behavior of any other DOC2_RECOGMODULE recognition module. Not all of the above modules interpret the settings in the same way.
If this function is not called, the default value DOC2_RECGMD_ACCURATE is applied.
Required DLLs and Libraries
For an example, refer to L_Doc2Recognize.