L_DocGetRecognitionResultOptions
#include "ltdoc.h"
L_INT EXT_FUNCTION L_DocGetRecognitionResultOptions(hDoc, pResOpts, uStructSize)
L_HDOC hDoc; |
/* handle to the OCR document */ |
pRESULTOPTIONS pResOpts; |
/* pointer to RESULTOPTIONS */ |
L_UINT uStructSize; |
/* size of the structure */ |
Gets current used options to save the recognition results.
Parameter |
Description |
hDoc |
Handle to the OCR document. |
pResOpts |
Pointer to a RESULTOPTIONS structure to be updated. |
uStructSize |
Specifies the size of the structure pointed to by pResOpts, use sizeof(RESULTOPTIONS) to calculate this value. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
Gets the current options for saving recognition results to a file.
To update the options for saving the recognition results, call L_DocGetRecognitionResultOptions.
To recognize a page(s), 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
Example
For an example, refer to L_DocSaveResultsToFile.