←Select platform

Errors Property

Summary

Gets an array that contains any errors occurred when this job is run.

Syntax

C#
VB
Java
Objective-C
C++
public IList<OcrAutoRecognizeManagerJobError> Errors { get; } 
ReadOnly Property Errors As IList(Of OcrAutoRecognizeManagerJobError) 
@property (nonatomic, strong, readonly, nullable) NSArray<LTOcrAutoRecognizeManagerJobError *> *errors 
public List<OcrAutoRecognizeManagerJobError> getErrors() 
property IList<OcrAutoRecognizeManagerJobError>^ Errors { 
   IList<OcrAutoRecognizeManagerJobError>^ get(); 
} 

Property Value

A list of OcrAutoRecognizeManagerJobError objects that contain detailed information on any errors that may have occurred when this job is run.

Remarks

If the value of IOcrAutoRecognizeManager.JobErrorMode was 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 not throw an exception if an error occur, instead, all errors will be logged into the job's IOcrAutoRecognizeJob.Errors collection. When recognition finishes, you can check if this collection is not empty and get the information of the errors and act upon them according to your application logic.

Example

For an example, refer to RunJob and RunJobAsync.

Requirements

Target Platforms

Help Version 20.0.2018.1.18
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ocr Assembly