Gets an array that contains any errors occurred while job is running.
L_OcrAutoRecognizeJob handle to destroy.
Number of items in 'value' which represents the number of errors occurred during the job.
|SUCCESS||The function was successful.|
|<1||An error occurred. Refer to Return Codes.|
If the value of L_OcrAutoRecognizeManagerOptions.JobErrorMode (you can get retrieve L_OcrAutoRecognizeManagerOptions by calling L_OcrAutoRecognizeManager_GetOptions) was L_OcrAutoRecognizeManagerJobErrorMode_Continue when this job is run, 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 abort the whole job if an error occur, instead, all errors will be logged into the job's internal errors list that you can retrieve by calling L_OcrAutoRecognizeJob_GetErrors. When recognition finishes, you can check if this list is not empty and get the information of the errors and act upon them according to your application logic.
Note: You must call L_OcrMemory_Free on 'value' parameter to free its memory.
Required DLLs and Libraries
For an example, refer to L_OcrAutoRecognizeManager_SetRunJobCallback