Leadtools.Forms.Ocr Namespace > IOcrAutoRecognizeManager Interface : JobErrorMode Property |
OcrAutoRecognizeManagerJobErrorMode JobErrorMode {get; set;}
'Declaration Property JobErrorMode As OcrAutoRecognizeManagerJobErrorMode
'Usage Dim instance As IOcrAutoRecognizeManager Dim value As OcrAutoRecognizeManagerJobErrorMode instance.JobErrorMode = value value = instance.JobErrorMode
OcrAutoRecognizeManagerJobErrorMode JobErrorMode {get; set;}
get_JobErrorMode();
set_JobErrorMode(value);
property OcrAutoRecognizeManagerJobErrorMode JobErrorMode { OcrAutoRecognizeManagerJobErrorMode get(); void set ( OcrAutoRecognizeManagerJobErrorMode value); }
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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2