←Select platform

OcrAutoRecognizeManagerJobErrorMode Enumeration

Summary
Defines values for the IOcrAutoRecognizeManager.JobErrorMode property.
Syntax
C#
VB
Objective-C
C++
Java
[SerializableAttribute()] 
public enum OcrAutoRecognizeManagerJobErrorMode   
<SerializableAttribute()> 
Public Enum OcrAutoRecognizeManagerJobErrorMode  
typedef NS_ENUM(NSInteger, LTOcrAutoRecognizeManagerJobErrorMode) 
public enum OcrAutoRecognizeManagerJobErrorMode 
[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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ocr Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.