L_DocGetRecognizeModuleTradeOff

#include "ltdoc.h"

L_LTDOC_API L_INT L_DocGetRecognizeModuleTradeOff(hDoc, pTradeOff)

L_HDOC hDoc;

/* handle to the OCR document */

RECOGMODULE_TRADEOFF * pTradeOff;

/* pointer to a variable */

Gets the current OCR document engine Trade-off setting.

Parameter

Description

hDoc

Handle to the OCR document.

pTradeOff

Pointer to a variable be updated with a value that represents the trade-off option used by the engine. For a list of possible values, refer to RECOGMODULE_TRADEOFF.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Gets the current OCR document engine Trade-off setting.

To set Trade-off setting, call L_DocSetRecognizeModuleTradeOff.

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_DocSetMOROptions, L_DocGetMOROptions, L_DocSetHandPrintOptions, L_DocGetHandPrintOptions, L_DocSetOMROptions, L_DocGetOMROptions

Topics:

OCR Functions: Recognition

 

Recognizing Document Pages

Example

For an example, refer to L_DocRecognize.