The JobProgress Event is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
Occurs when a job is being run to provide progress status and ability to abort.Visual Basic (Declaration) | |
---|---|
Event JobProgress As EventHandler(Of OcrAutoRecognizeJobProgressEventArgs) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As IOcrAutoRecognizeManager Dim handler As EventHandler(Of OcrAutoRecognizeJobProgressEventArgs) AddHandler instance.JobProgress, handler |
C# | |
---|---|
event EventHandler<OcrAutoRecognizeJobProgressEventArgs> JobProgress |
C++/CLI | |
---|---|
event EventHandler<OcrAutoRecognizeJobProgressEventArgs^>^ JobProgress |
The event handler receives an argument of type OcrAutoRecognizeJobProgressEventArgs containing data related to this event. The following OcrAutoRecognizeJobProgressEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Data | Gets the event progress data. |
Job | Gets the job that triggered the event. |
Note, this event will not trigger if multiple threads are used on the same document (the value of MaximumThreadsPerJob is anything else but 1).
This event will occur when Run, IOcrAutoRecognizeManager.RunJob or IOcrAutoRecognizeManager.RunJobAsync is called.
For more information, refer to OcrAutoRecognizeJobProgressEventArgs and Leadtools.Forms.Ocr.OcrProgressCallback.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7