Defines values for the IOcrAutoRecognizeManager.JobErrorMode property.
[SerializableAttribute()]public enum OcrAutoRecognizeManagerJobErrorMode
<SerializableAttribute()>Public Enum OcrAutoRecognizeManagerJobErrorMode
[SerializableAttribute()]public enum OcrAutoRecognizeManagerJobErrorMode
typedef NS_ENUM(NSInteger, LTOcrAutoRecognizeManagerJobErrorMode) public enum OcrAutoRecognizeManagerJobErrorMode Leadtools.Forms.Ocr.OcrAutoRecognizeManagerJobErrorMode = function() { };Leadtools.Forms.Ocr.OcrAutoRecognizeManagerJobErrorMode.prototype = {<br/>Abort = 0,Continue = 1,};
[SerializableAttribute()]public enum class OcrAutoRecognizeManagerJobErrorMode
Members
| Value | Member | Description |
|---|---|---|
| 0 | Abort | Abort the recognition process. |
| 1 | Continue | Continue on none critical errors. |
If IOcrAutoRecognizeManager.JobErrorMode is OcrAutoRecognizeManagerJobErrorMode.Continue, then the IOcrAutoRecognizeManager will perform the following actions depending on the current operation:
| Operation | Action |
|---|---|
| OcrAutoRecognizeManagerJobOperation.Other |
Non-recoverable. The recognition will fail. |
| OcrAutoRecognizeManagerJobOperation.CreateDocument |
Non-recoverable. The recognition will fail. |
| OcrAutoRecognizeManagerJobOperation.PrepareDocument |
Non-recoverable. The recognition will fail. |
| OcrAutoRecognizeManagerJobOperation.LoadPage |
Non-recoverable. The recognition will fail. |
| OcrAutoRecognizeManagerJobOperation.PreprocessPage |
Ignore the error and continue to zoning the page. |
| OcrAutoRecognizeManagerJobOperation.ZonePage |
If an error occurred during loading of a zone data from a file, the engine will try to auto-zone the page instead. If an error occurs during the auto-zone operation, the engine will skip recognition of the page and save it as a graphics data in the file document. This is useful when PDF with image over text option is used. |
| OcrAutoRecognizeManagerJobOperation.RecognizePage |
The engine will skip recognition of the page and save it as a graphics data in the file document. This is useful when PDF with image over text option is used. |
| OcrAutoRecognizeManagerJobOperation.SavePage |
Non-recoverable. The recognition will fail. |
| OcrAutoRecognizeManagerJobOperation.AppendLtd |
Non-recoverable. The recognition will fail. |
| OcrAutoRecognizeManagerJobOperation.SaveDocument |
Non-recoverable. The recognition will fail. |
| OcrAutoRecognizeManagerJobOperation.ConvertDocument |
Non-recoverable. The recognition will fail. |
For more information, refer to IOcrAutoRecognizeManager.JobErrorMode.
For an example, refer to RunJob.
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
