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



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

Occurs while a job is running.

Syntax

Visual Basic (Declaration) 
Event JobOperation As EventHandler(Of OcrAutoRecognizeJobOperationEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As IOcrAutoRecognizeManager
Dim handler As EventHandler(Of OcrAutoRecognizeJobOperationEventArgs)
 
AddHandler instance.JobOperation, handler

Event Data

The event handler receives an argument of type OcrAutoRecognizeJobOperationEventArgs containing data related to this event. The following OcrAutoRecognizeJobOperationEventArgs properties provide information specific to this event.

PropertyDescription
Document Gets the OCR document being used in the current operation.
DocumentFileName Gets the name of the document file being saved in the current operation.
DocumentWriterInstance Gets the Leadtools.Forms.DocumentWriters.DocumentWriter instance being used in the current operation.
Format Gets the document format being used in the current operation.
ImagePageNumber Gets the page number in the input (image) file name for the current operation
Job Gets the job associated with this operation.
LtdFileName Gets the name of the LEAD Temporary Document (LTD) being used in the current operation
Operation Gets the current operation.
Page Gets the OCR page being used in the current operation.
PostOperation Gets a value that indicates whether the engine has already run the operation.
Status Gets or sets a value indicating whether to continue or abort current operation.

Example

For an example, refer to OcrAutoRecognizeJobOperationEventArgs.

Remarks

This event will occur when Run, IOcrAutoRecognizeManager.RunJob or IOcrAutoRecognizeManager.RunJobAsync is called.

You can use this event to get information on the current operation (creating an OCR document, loading a page, zoning, recognizing, saving, etc.).

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

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