L_DocSetRecognitionResultOptions

#include "ltdoc.h"

L_INT EXT_FUNCTION 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 L_DocSaveResultsToFile.

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

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

Example

For an example, refer to L_DocSaveResultsToFile.