L_DocGetOMROptions

#include "ltdoc.h"

L_LTDOC_API L_INT L_DocGetOMROptions(hDoc, pOMROpts, uStructSize)

L_HDOC hDoc;

/* handle to the OCR document */

pOMROPTIONS pOMROpts;

/* pointer to OMROPTIONS */

L_UINT uStructSize;

/* size of the structure */

Gets the current used OMR options.

Parameter

Description

hDoc

Handle to the OCR document.

pOMROpts

Pointer to OMROPTIONS structure to be updated.

uStructSize

Specifies the size of the structure pointed to by pOMROpts, use sizeof(OMROPTIONS) to calculate this value.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Gets the current OMR options used by the OCR document engine.

These options will be used only when the recognition module is RECOGMODULE_OMR.

To update the OMR options, call L_DocSetOMROptions.

To recognize a page, 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_DocSetRecognizeModuleTradeOff, L_DocGetRecognizeModuleTradeOff, L_DocSetMOROptions, L_DocGetMOROptions, L_DocSetHandPrintOptions, L_DocGetHandPrintOptions, L_DocSetOMROptions

Topics:

OCR Functions: Recognition

 

Recognizing Document Pages

Example

For an example, refer to L_DocSetOMROptions.