#include "ltdoc.h"
L_LTDOC_API L_INT L_DocSetRecognitionResultOptions(hDoc, pResOpts)
L_HDOC hDoc; |
/* handle to the OCR document */ |
pRESULTOPTIONS pResOpts; |
/* pointer to RESULTOPTIONS */ |
Sets the recognition result options.
Parameter |
Description |
hDoc |
Handle to the OCR document. |
pResOpts |
Pointer to a RESULTOPTIONS structure that contains the options to set. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
Sets options that will be used in saving recognition results to a file.
These options will be used with the L_DocSaveResultsToFile function.
To recognize one or more pages, call the L_DocRecognize function.
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
Example
For an example, refer to L_DocSaveResultsToFile.