Is this page helpful?
Contains information on an L_OcrAutoRecognizeManager job error.
struct L_OcrAutoRecognizeManagerJobError
{
L_UINT StructSize;
L_UINT ImagePageNumber;
L_OcrAutoRecognizeManagerJobOperation Operation;
L_INT ErrorCode;
};
typedef struct L_OcrAutoRecognizeManagerJobError L_OcrAutoRecognizeManagerJobError;
Structure size. It should be equal to sizeof(L_OcrAutoRecognizeManagerJobError).
Gets the 1-based page number of the page in the source image file that caused the error.
Gets the operation that caused the error.
Gets the error code that occurred during reported L_OcrAutoRecognizeManagerJobError.Operation.
If the value of the L_OcrAutoRecognizeManagerOptions.JobErrorMode is L_OcrAutoRecognizeManagerJobErrorMode_Continue, then none critical errors can be logged and running continues. For example, if a source document has a page that could not be recognized. The offending page will be added to the final document as a graphics images and recognition will continue to the next page. In this mode, the engine will not abort its work if an error occur, instead, all errors will be logged into the job's errors list that you can obtain later by calling L_OcrAutoRecognizeJob_GetErrors method. When recognition finishes, you can check if there are errors by calling L_OcrAutoRecognizeJob_GetErrors method to get errors information and act upon them according to your application logic.