L_DocSetRecognitionResultOptions

#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

Functions:

L_DocGetStatus, L_DocRecognize, L_DocSaveResultsToMemory, L_DocFreeMemoryResults, L_DocGetRecognitionResultOptions, L_DocEnumOutputFileFormats, L_DocGetTextFormatInfo, L_DocSaveResultsToFile, L_DocSetSpecialChar, L_DocGetSpecialChar, L_DocGetRecognizedCharacters, L_DocSetRecognizedCharacters, L_DocFreeRecognizedCharacters

Topics:

OCR Functions: Recognition

 

Recognizing Document Pages

 

Output Converter Formatting Properties

Example

For an example, refer to L_DocSaveResultsToFile.