RECOGNIZEOPTS2

typedef struct _tagRecognizeOpts2 
{ 
   L_UINT uStructSize; 
   L_INT nPageIndexStart; 
   L_INT nPagesCount; 
   L_BOOL bEnableSubSystem; 
   L_BOOL bEnableCorrection; 
   DOC2_LANGIDS SpellLangId; 
} RECOGNIZEOPTS2, *pRECOGNIZEOPTS2; 

The RECOGNIZEOPTS2 structure contains recognition options.

Members

uStructSize

Structure size. Set it to sizeof(RECOGNIZEOPTS2).

nPageIndexStart

Index of the first page to recognize.

nPagesCount

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 Disable 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 DOC2_LANGIDS.

✎ NOTE

Only some of the language IDs can be used for spell-checking. To obtain a list of the languages available for spell-checking, call L_Doc2GetDefaultSpellLanguages.

Comments

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

The structure is used by:

Help Version 21.0.2021.4.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - OmniPage Engine C API Help