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.
Structure size. Set it to sizeof(RECOGNIZEOPTS2).
Index of the first page to recognize.
Number of pages that will be recognized.
Enables or disables the checking subsystem. Possible values are:
Value | Meaning |
---|---|
TRUE | Enable the checking subsystem. |
FALSE | Disable the checking subsystem. |
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. |
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.
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: