Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS OCR C DLL Help

RECOGNIZEOPTS

Show in webframe

typedef struct _tagRecognizeOpts
{
   L_UINT uStructSize;
   L_INT nPageIndexStart;
   L_INT nPagesCount;
   L_BOOL bEnableSubSystem;
   L_BOOL bEnableCorrection;
   LANGIDS SpellLangId;
   L_TCHAR *pszFileName;
} RECOGNIZEOPTS, *pRECOGNIZEOPTS;

The RECOGNIZEOPTS structure contains recognition options.

Member

Description

uStructSize

Specifies the structure size. It should be equal to sizeof(RECOGNIZEOPTS).

nPageIndexStart

Specifies the index of the first page to recognize.

nPagesCount

Specifies the number of pages that will be recognized.

bEnableSubSystem

Enables or disables the checking subsystem. Possible values are:

 

Value

Meaning

 

TRUE

Enable the checking subsystem.

 

FALSE

Disable the checking subsystem.

bEnableCorrection

Enables or disables the Correction mode setting of the checking subsystem. Possible values are:

 

Value

Meaning

 

TRUE

Enable the correction mode of the checking subsystem.

 

FALSE

Disables the correction mode of the checking subsystem.

SpellLangId

Specifies the language the checking subsystem will use when spell-checking. For a list of possible values, refer to LANGIDS.

Note: Only some of these IDs can be used for the spell language. To obtain a list of available spell languages, call the L_DocGetDefaultSpellLanguages function.

pszFileName

Character string that contains the name of the file in which to save the recognition data.

Comments

Always set the pszFileName member to a valid file name.

pRECOGNIZEOPTS is a pointer to a RECOGNIZEOPTS structure. Where the function parameter type is pRECOGNIZEOPTS, declare a RECOGNIZEOPTS variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pRECOGNIZEOPTS variable is necessary only if the program requires a pointer.

This structure is used with the L_DocRecognize function.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.