Error processing SSI file
LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)

Show in webframe

JobCompleted Event








Occurs when a job is completed or aborted.
Syntax
'Declaration
 
Event JobCompleted As EventHandler(Of OcrAutoRecognizeRunJobEventArgs)
'Usage
 
Dim instance As IOcrAutoRecognizeManager
Dim handler As EventHandler(Of OcrAutoRecognizeRunJobEventArgs)
 
AddHandler instance.JobCompleted, handler
- (void)autoRecognizeManager:(LTOcrAutoRecognizeManager *)manager didCompleteWithStatus:(LTOcrAutoRecognizeManagerJobStatus *)status
synchronized public void addJobCompletedListener(OcrAutoRecognizeRunJobListener listener)
synchronized public void removeJobCompletedListener(OcrAutoRecognizeRunJobListener listener)
            
add_JobCompleted(function(sender, e))
remove_JobCompleted(function(sender, e))

Event Data

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.

PropertyDescription
Job Gets the job that triggered this event.
Status Gets or sets a value indicating whether to continue or abort current job.
Remarks

This event will occur when Run, RunJob or RunJobAsync is called.

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 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.

The JobStarted event occurs when a job is about to start.

Example
For an example, refer to RunJob.
Requirements

Target Platforms

See Also

Reference

IOcrAutoRecognizeManager Interface
IOcrAutoRecognizeManager Members
Programming with the LEADTOOLS .NET OCR

Error processing SSI file
Leadtools.Forms.Ocr requires a Recognition or Document Imaging Suite license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features