←Select platform

OcrAutoRecognizeManagerJobErrorMode Enumeration

Summary

Defines values for the IOcrAutoRecognizeManager.JobErrorMode property.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
[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

ValueMemberDescription
0Abort Abort the recognition process.
1Continue Continue on none critical errors.
Remarks

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.

Example

For an example, refer to RunJob.

Requirements

Target Platforms

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

Leadtools.Forms.Ocr Assembly