Leadtools.Forms.Ocr Namespace > IOcrAutoRecognizeManager Interface : AbortAllJobs Method |
void AbortAllJobs()
'Declaration Sub AbortAllJobs()
'Usage Dim instance As IOcrAutoRecognizeManager instance.AbortAllJobs()
void AbortAllJobs()
function Leadtools.Forms.Ocr.IOcrAutoRecognizeManager.AbortAllJobs()
void AbortAllJobs();
Call this method to cause all running and pending jobs started with Run, RunJob or RunJobAsync to gracefully abort. Notice that this method will only triggers the abortion operation and returns immediately. You must still add synchronization code if your application logic needs to be informed when all jobs are completed/aborted. For a complete example on how to accomplish this, refer to RunJob.