LEADTOOLS OCR (Leadtools.Forms.Ocr assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
AbortAllJobs Method
See Also 
Leadtools.Forms.Ocr Namespace > IOcrAutoRecognizeManager Interface : AbortAllJobs Method



The AbortAllJobs Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

Aborts all running and pending jobs.

Syntax

Visual Basic (Declaration) 
Sub AbortAllJobs() 
Visual Basic (Usage)Copy Code
Dim instance As IOcrAutoRecognizeManager
 
instance.AbortAllJobs()
C# 
void AbortAllJobs()
C++/CLI 
void AbortAllJobs(); 

Example

For an example, refer to IOcrAutoRecognizeManager.RunJob.

Remarks

Call this method to cause all running and pending jobs started with Run, IOcrAutoRecognizeManager.RunJob or IOcrAutoRecognizeManager.RunJobAsync to gracefully abort. Notice that this method will only triggers the abortion operation and returns immediatly. 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 IOcrAutoRecognizeManager.RunJob.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

AbortAllJobs requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features