Leadtools.Forms.Ocr Namespace : IOcrAutoRecognizeJob Interface |
public interface IOcrAutoRecognizeJob
'Declaration Public Interface IOcrAutoRecognizeJob
'Usage Dim instance As IOcrAutoRecognizeJob
public interface IOcrAutoRecognizeJob
function Leadtools.Forms.Ocr.IOcrAutoRecognizeJob()
public interface class IOcrAutoRecognizeJob
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 IOcrAutoRecognizeManager.CreateJob to create the IOcrAutoRecognizeJob object. Finally pass this job to either IOcrAutoRecognizeManager.RunJob or IOcrAutoRecognizeManager.RunJobAsync.
The job instance can also be tracked and obtained through the IOcrAutoRecognizeManager.JobStarted, IOcrAutoRecognizeManager.JobProgress and IOcrAutoRecognizeManager.JobCompleted events through the event data (OcrAutoRecognizeRunJobEventArgs.Job or OcrAutoRecognizeJobProgressEventArgs.Job) and the IOcrAutoRecognizeManager.JobOperation event through its event data (OcrAutoRecognizeJobOperationEventArgs.Job.