Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.9
|
Leadtools.Forms.Ocr Assembly > Leadtools.Forms.Ocr Namespace : IOcrAutoRecognizeJob Interface |
public interface IOcrAutoRecognizeJob : System.IDisposable
'Declaration
Public Interface IOcrAutoRecognizeJob Inherits System.IDisposable
'Usage
Dim instance As IOcrAutoRecognizeJob
public interface IOcrAutoRecognizeJob : IClosable //In WinRT the IDisposable interface is replaced by IClosable
@interface LTOcrAutoRecognizeJob : NSObject
public class OcrAutoRecognizeJob
function Leadtools.Forms.Ocr.IOcrAutoRecognizeJob() System.IDisposable
public interface class IOcrAutoRecognizeJob : public System.IDisposable
To run an OCR job with IOcrAutoRecognizeManager, first initialize a new OcrAutoRecognizeJobData object with the job's parameters (input image file name, pages, output document format, output document name, optional zones file name, etc.), then use CreateJob to create the IOcrAutoRecognizeJob object. Finally pass this job to either RunJob or RunJobAsync.
The job instance can also be tracked and obtained through the JobStarted, JobProgress and JobCompleted events through the event data (OcrAutoRecognizeRunJobEventArgs.Job or OcrAutoRecognizeJobProgressEventArgs.Job) and the JobOperation event through its event data (OcrAutoRecognizeJobOperationEventArgs.Job.
IOcrAutoRecognizeJob implements the IDisposable interface and you must call the IDisposable.Dispose method on the instance after it is no longer used.