Gets or sets a value that indicates whether to abort or try to continue running jobs when an error occur.
Leadtools.Forms.Ocr.OcrAutoRecognizeManagerJobErrorMode JobErrorMode {get; set;}
Property JobErrorMode As Leadtools.Forms.Ocr.OcrAutoRecognizeManagerJobErrorMode
@property (nonatomic, assign) LTOcrAutoRecognizeManagerJobErrorMode jobErrorMode
public OcrAutoRecognizeManagerJobErrorMode getJobErrorMode()
public void setJobErrorMode(OcrAutoRecognizeManagerJobErrorMode value)
property Leadtools.Forms.Ocr.OcrAutoRecognizeManagerJobErrorMode JobErrorMode {
Leadtools.Forms.Ocr.OcrAutoRecognizeManagerJobErrorMode get();
void set ( Leadtools.Forms.Ocr.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.
For an example, refer to RunJob.
Products |
Support |
Feedback: JobErrorMode Property - Leadtools.Forms.Ocr |
Introduction |
Help Version 19.0.2017.6.6
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.