L_DocGetHandPrintOptions

#include "ltdoc.h"

L_INT EXT_FUNCTION L_DocGetHandPrintOptions(hDoc, pHandOpts, uStructSize)

L_HDOC hDoc;

/* handle to the OCR document */

pHANDPRINTOPTIONS pHandOpts;

/* pointer to a HANDPRINTOPTIONS structure */

L_UINT uStructSize;

/* size of the structure */

Gets the current hand print options.

Parameter

Description

hDoc

Handle to the OCR document.

pHandOpts

Pointer to a HANDPRINTOPTIONS structure to be updated.

uStructSize

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

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Gets the current hand print options used by the OCR document engine.

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

To update the hand print options, call L_DocSetHandPrintOptions.

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_DocSetOMROptions, L_DocGetOMROptions

Topics:

OCR Functions: Recognition

 

Recognizing Document Pages

Example

For an example, refer to L_DocSetHandPrintOptions.