public event EventHandler<OcrAutoRecognizeRunJobEventArgs> JobStarted
Event JobStarted As EventHandler(Of OcrAutoRecognizeRunJobEventArgs)
- (void)autoRecognizeManager:(LTOcrAutoRecognizeManager *)manager didStartWithStatus:(LTOcrAutoRecognizeManagerJobStatus *)status
synchronized public void addJobStartedListener(OcrAutoRecognizeRunJobListener listener)
synchronized public void removeJobStartedListener(OcrAutoRecognizeRunJobListener listener)
event EventHandler<OcrAutoRecognizeRunJobEventArgs^>^ JobStarted
The event handler receives an argument of type OcrAutoRecognizeRunJobEventArgs containing data related to this event. The following OcrAutoRecognizeRunJobEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Job | Gets the job that triggered this event. |
This event will occur when Run, RunJob or RunJobAsync is called.
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.
The JobCompleted event will always occur when a job is run whether the job is aborted or completed.
For an example, refer to RunJob.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document