Visual Basic (Declaration) | |
---|---|
Public Interface IOcrAutoRecognizeJob |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As IOcrAutoRecognizeJob |
C# | |
---|---|
public interface IOcrAutoRecognizeJob |
C++/CLI | |
---|---|
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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7