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.

Member Description
uStructSize Structure size. It should be equal 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 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 DOC2_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_Doc2GetDefaultSpellLanguages function.

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.

This structure is used with the L_Doc2Recognize function.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Professional OCR C API Help