Leadtools.Forms.Ocr Namespace : OcrAutoRecognizeManagerJobOperation Enumeration |
public enum OcrAutoRecognizeManagerJobOperation : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
'Declaration Public Enum OcrAutoRecognizeManagerJobOperation Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
'Usage Dim instance As OcrAutoRecognizeManagerJobOperation
public enum OcrAutoRecognizeManagerJobOperation : System.IComparable, System.IConvertible, System.IFormattable
Leadtools.Forms.Ocr.OcrAutoRecognizeManagerJobOperation = function() { }; Leadtools.Forms.Ocr.OcrAutoRecognizeManagerJobOperation.prototype = {
Other = 0x00000000, CreateDocument = 0x00000001, PrepareDocument = 0x00000002, LoadPage = 0x00000003, PreprocessPage = 0x00000004, ZonePage = 0x00000005, RecognizePage = 0x00000006, SavePage = 0x00000007, AppendLtd = 0x00000008, SaveDocument = 0x00000009, ConvertDocument = 0x0000000A, };
public enum class OcrAutoRecognizeManagerJobOperation : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Value | Member | Description |
---|---|---|
0x00000000 | Other |
Other operation, such as unexpected and unrecoverable errors. |
0x00000001 | CreateDocument |
The IOcrAutoRecognizeManager is creating a document with IOcrDocumentManager.CreateDocument. |
0x00000002 | PrepareDocument |
Preparing the IOcrDocument, in certain situations, by clearing all the pages inside it. |
0x00000003 | LoadPage |
Loading a page using IOcrPageCollection.AddPage. |
0x00000004 | PreprocessPage |
Preprocessing a page using IOcrPage.AutoPreprocess. |
0x00000005 | ZonePage |
Zoning a page using IOcrPage.AutoZone or IOcrPage.LoadZone. Note that when using the IOcrAutoRecognizeManager.JobOperation event, you can use this operation to zone the page manually as shown in the OcrAutoRecognizeJobOperationEventArgs example. |
0x00000006 | RecognizePage |
Recognizing a page using IOcrPage.Recognize. |
0x00000007 | SavePage |
Saving a page using IOcrDocument.Save or IOcrDocument.SaveAsync. |
0x00000008 | AppendLtd |
Appending multiple LTD's using DocumentWriter.AppendLtd. |
0x00000009 | SaveDocument |
Saving a document using IOcrDocument.Save or IOcrDocument.SaveAsync. |
0x0000000A | ConvertDocument |
Converting a document to its final format using DocumentWriter.Convert. |
Used as type for the following properties:
The OcrAutoRecognizeManagerJobError.Operation property to indicate the operation that cause the error.
You can set IOcrAutoRecognizeManager.JobErrorMode to OcrAutoRecognizeManagerJobErrorMode.Continue to log and continue when a none critical error occurs during the recognition process. The following errors are considered unrecoverable and the recognition will fail regardless on the current error mode: Other, CreateDocument, PrepareDocument, LoadPage, SavePage, AppendLtd, SaveDocument and Convert.
The OcrAutoRecognizeJobOperationEventArgs.Operation property to indicate the operation being run.
System.Object
System.ValueType
System.Enum
Leadtools.Forms.Ocr.OcrAutoRecognizeManagerJobOperation