RECOGNIZEOPTS
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 for spell-checking. For a list of possible values, refer to Languages and Dictionaries. |
|
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.