The OcrAutoRecognizeManagerJobOperation Enumeration is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
IOcrAutoRecognizeManager job operations.| Visual Basic (Declaration) | |
|---|---|
Public Enum OcrAutoRecognizeManagerJobOperation Inherits System.Enum Implements IComparable, IConvertible, IFormattable | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As OcrAutoRecognizeManagerJobOperation | |
| C# | |
|---|---|
public enum OcrAutoRecognizeManagerJobOperation : System.Enum, IComparable, IConvertible, IFormattable | |
| C++/CLI | |
|---|---|
public enum class OcrAutoRecognizeManagerJobOperation : public System.Enum, IComparable, IConvertible, IFormattable | |
| Member | Description |
|---|---|
| AppendLtd | Appending multiple LTD's using DocumentWriter.AppendLtd. |
| ConvertDocument | Converting a document to its final format using DocumentWriter.Convert. |
| CreateDocument | The IOcrAutoRecognizeManager is creating a document with IOcrDocumentManager.CreateDocument. |
| LoadPage | Loading a page using IOcrPageCollection.AddPage. |
| Other | Other operation, such as unexpected and unrecoverable errors. |
| PrepareDocument | Preparing the IOcrDocument, in certain situations, by clearing all the pages inside it. |
| PreprocessPage | Preprocessing a page using IOcrPage.AutoPreprocess. |
| RecognizePage | Recognizing a page using IOcrPage.Recognize. |
| SaveDocument | Saving a document using IOcrDocument.Save. |
| SavePage | Saving a page using IOcrDocument.Save. |
| 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. |
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
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Copy Code