Contains data for the IOcrAutoRecognizeManager.JobStarted and IOcrAutoRecognizeManager.JobCompleted events.
[SerializableAttribute()]
public class OcrAutoRecognizeRunJobEventArgs : System.EventArgs
<SerializableAttribute()>
Public Class OcrAutoRecognizeRunJobEventArgs
Inherits System.EventArgs
public class OcrAutoRecognizeRunJobEvent extends EventObject
[SerializableAttribute()]
public ref class OcrAutoRecognizeRunJobEventArgs : public System.EventArgs
IOcrAutoRecognizeManager.JobStarted and IOcrAutoRecognizeManager.JobCompleted will trigger when Run, RunJob or RunJobAsync is called.
The JobStarted event occurs when a job is about to start. You can use this event to keep track of the number of jobs pending running. You can also examine OcrAutoRecognizeRunJobEventArgs.Job to get information on whether the job finished successfully and get error status if any. RunJob example shows complete source code of how to easily accomplish these tasks in your application.
The JobCompleted event will always occur when a job is run whether the job is aborted or completed.
To abort pending jobs in a multi-threaded application using IOcrAutoRecognizeManager, you subscribe to this event and set the value of OcrAutoRecognizeRunJobEventArgs.Status to OcrAutoRecognizeManagerJobStatus.Abort. You can also examine OcrAutoRecognizeRunJobEventArgs.Job and only abort certain jobs depending on your application logic.
IOcrAutoRecognizeManager allows you to modify the raster image, OCR page or OCR document during some parts of the operation. Refer to OcrAutoRecognizeJobOperationEventArgs.PageImage for more information an example.
For an example, refer to RunJob.
Products |
Support |
Feedback: OcrAutoRecognizeRunJobEventArgs Class - Leadtools.Forms.Ocr |
Introduction |
Help Version 19.0.2017.6.6
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.