Defines values for the L_OcrAutoRecognizeManagerOptions.JobErrorMode property.
enum L_OcrAutoRecognizeManagerJobErrorMode
{
L_OcrAutoRecognizeManagerJobErrorMode_Abort,
L_OcrAutoRecognizeManagerJobErrorMode_Continue,
};
typedef enum L_OcrAutoRecognizeManagerJobErrorMode L_OcrAutoRecognizeManagerJobErrorMode;
Abort the recognition process.
Continue on none critical errors.
If L_OcrAutoRecognizeManagerOptions.JobErrorMode is L_OcrAutoRecognizeManagerJobErrorMode_Continue, then the L_OcrAutoRecognizeManager will perform the following actions depending on the current operation:
Operation | Action |
---|---|
L_OcrAutoRecognizeManagerJobOperation_Other | Non-recoverable. The recognition will fail. |
L_OcrAutoRecognizeManagerJobOperation_CreateDocument | Non-recoverable. The recognition will fail. |
L_OcrAutoRecognizeManagerJobOperation_LoadPage | Non-recoverable. The recognition will fail. |
L_OcrAutoRecognizeManagerJobOperation_PreprocessPage | Ignore the error and continue to zoning the page. |
L_OcrAutoRecognizeManagerJobOperation_ZonePage | If an error occurred during loading of a zone data from a file, the engine will try to auto-zone the page instead. If an error occurs during the auto-zone operation, the engine will skip recognition of the page and save it as a graphics data in the file document. This is useful when PDF with image over text option is used. |
L_OcrAutoRecognizeManagerJobOperation_RecognizePage | The engine will skip recognition of the page and save it as a graphics data in the file document. This is useful when PDF with image over text option is used. |
L_OcrAutoRecognizeManagerJobOperation_SavePage | Non-recoverable. The recognition will fail. |
L_OcrAutoRecognizeManagerJobOperation_Append | Non-recoverable. The recognition will fail. |
L_OcrAutoRecognizeManagerJobOperation_ConvertDocument | Non-recoverable. The recognition will fail. |
For more information, refer to L_OcrAutoRecognizeManagerOptions.JobErrorMode.