L_OcrAutoRecognizeManagerJobError

Summary

Contains information on an L_OcrAutoRecognizeManager job error.

Syntax

struct L_OcrAutoRecognizeManagerJobError 
{ 
   L_UINT StructSize; 
   L_UINT ImagePageNumber; 
   L_OcrAutoRecognizeManagerJobOperation Operation; 
   L_INT ErrorCode; 
}; 
typedef struct L_OcrAutoRecognizeManagerJobError L_OcrAutoRecognizeManagerJobError; 

Members

StructSize

Structure size. It should be equal to sizeof(L_OcrAutoRecognizeManagerJobError).

ImagePageNumber

Gets the 1-based page number of the page in the source image file that caused the error.

Operation

Gets the operation that caused the error.

ErrorCode

Gets the error code that occurred during reported L_OcrAutoRecognizeManagerJobError.Operation.

Comments

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.

Usage

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - LEAD Engine C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.