Gets or sets a value that indicates whether to abort or try to continue running jobs when an error occur.
public OcrAutoRecognizeManagerJobErrorMode JobErrorMode { get; set; }
Property JobErrorMode As OcrAutoRecognizeManagerJobErrorMode
@property (nonatomic, assign) LTOcrAutoRecognizeManagerJobErrorMode jobErrorMode
public OcrAutoRecognizeManagerJobErrorMode getJobErrorMode()
public void setJobErrorMode(OcrAutoRecognizeManagerJobErrorMode value)
property OcrAutoRecognizeManagerJobErrorMode JobErrorMode {
OcrAutoRecognizeManagerJobErrorMode get();
void set ( OcrAutoRecognizeManagerJobErrorMode );
}
An OcrAutoRecognizeManagerJobErrorMode enumeration member that specifies whether to abort or try to continue running jobs when an error occur. Default value is OcrAutoRecognizeManagerJobErrorMode.Continue.
When the value of this property is OcrAutoRecognizeManagerJobErrorMode.Abort, any error that may occur while running a job will result in an exception being thrown.
If the value of this property is 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 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.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document