enumL_OcrAutoRecognizeManagerJobOperation{L_OcrAutoRecognizeManagerJobOperation_Other,L_OcrAutoRecognizeManagerJobOperation_CreateDocument,L_OcrAutoRecognizeManagerJobOperation_LoadPage,L_OcrAutoRecognizeManagerJobOperation_PreprocessPage,L_OcrAutoRecognizeManagerJobOperation_ZonePage,L_OcrAutoRecognizeManagerJobOperation_RecognizePage,L_OcrAutoRecognizeManagerJobOperation_SavePage,L_OcrAutoRecognizeManagerJobOperation_Append,L_OcrAutoRecognizeManagerJobOperation_ConvertDocument};typedefenumL_OcrAutoRecognizeManagerJobOperation L_OcrAutoRecognizeManagerJobOperation;
L_OcrAutoRecognizeManagerjob operations.
| Value | 意义 |
|---|---|
| L_OcrAutoRecognizeManagerJobOperation_Other | Other operation, such as unexpected and unrecoverable errors. |
| L_OcrAutoRecognizeManagerJobOperation_CreateDocument | TheL_OcrAutoRecognizeManageris creating a document withL_OcrDocumentManager_CreateDocument. |
| L_OcrAutoRecognizeManagerJobOperation_LoadPage | Loading the BITMAPHANDLE of a page using L_LoadFile. The page is then created using L_OcrEngine_CreatePage. |
| L_OcrAutoRecognizeManagerJobOperation_PreprocessPage | Preprocessing a page usingL_OcrPage_AutoPreprocess. |
| L_OcrAutoRecognizeManagerJobOperation_ZonePage | Zoning a page usingL_OcrPage_AutoZoneor L_OcrPage_LoadZone. Note that when using theL_OcrAutoRecognizeJobOperationCallback, you can use this operation to zone the page manually as shown in theL_OcrAutoRecognizeManager_SetJobOperationCallbackexample. |
| L_OcrAutoRecognizeManagerJobOperation_RecognizePage | Recognizing a page usingL_OcrPage_Recognize. |
| L_OcrAutoRecognizeManagerJobOperation_SavePage | Saving a page usingL_OcrDocument_Saveor L_OcrDocument_SaveAsync. |
| L_OcrAutoRecognizeManagerJobOperation_Append | Appending multiple LTD's. |
| L_OcrAutoRecognizeManagerJobOperation_ConvertDocument | Converting a document to its final format. |
Used as type for the following properties:
TheL_OcrAutoRecognizeManagerJobError.Operation property to indicate the operation that cause the error.
You can setL_OcrAutoRecognizeManagerOptions.JobErrorMode to L_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: L_OcrAutoRecognizeManagerJobOperation_Other, L_OcrAutoRecognizeManagerJobOperation_CreateDocument, L_OcrAutoRecognizeManagerJobOperation_LoadPage, L_OcrAutoRecognizeManagerJobOperation_SavePage, L_OcrAutoRecognizeManagerJobOperation_Append and L_OcrAutoRecognizeManagerJobOperation_ConvertDocument.
TheL_OcrAutoRecognizeManagerJobError.Operation property to indicate the operation being run.
L_OcrAutoRecognizeManagerallows you to modify the bitmap handle, OCR page or OCR document during some parts of the operation. Refer toL_OcrAutoRecognizeJobOperationCallbackData.PageBitmap for more information and example.