| LEADTOOLS OCR C DLL Help > Function References > OCR Plus > L_DocIsParallelRecognitionEnabled |
#include "ltdoc.h"
L_LTDOC_API L_BOOL L_DocIsParallelRecognitionEnabled (hDoc)
|
L_HDOC hDoc; |
/* handle to the OCR document */ |
Returns a value that indicates whether the Parallel Recognition Mode is enabled.
|
Parameter |
Description |
|
hDoc |
Handle to the OCR document. |
Returns
|
Value |
Meaning |
|
TRUE |
The Parallel Recognition Mode is enabled. |
|
FALSE |
The Parallel Recognition Mode is disabled. |
Comments
For more information on the Parallel Recognition Mode, refer to L_DocEnableParallelRecognition.
Required DLLs and Libraries
|
LTDOC For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
See Also
|
Functions: |
|
|
Topics: |
|
|
|
|
|
|
|
|
|
Example
L_INT DocIsParallelRecognitionEnabledExample(L_HDOC hDoc)
{
L_INT nRet;
L_BOOL bEnable = L_DocIsParallelRecognitionEnabled(hDoc);
if (!bEnable)
{
nRet = L_DocEnableParallelRecognition(hDoc, TRUE);
if(nRet != SUCCESS)
return nRet;
}
MessageBox(NULL, TEXT("The Parallel recognition mode is enabled."), TEXT("Notice!"), MB_OK);
return SUCCESS;
}