LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)
LEAD Technologies, Inc

JobOperation Event






Occurs while a job is running. .NET support
Syntax
'Declaration
 
Event JobOperation As EventHandler(Of OcrAutoRecognizeJobOperationEventArgs)
'Usage
 
Dim instance As IOcrAutoRecognizeManager
Dim handler As EventHandler(Of OcrAutoRecognizeJobOperationEventArgs)
 
AddHandler instance.JobOperation, handler
add_JobOperation(function(sender, e))
remove_JobOperation(function(sender, e))

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

This event will occur when Run, RunJob or 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.).

Example
For an example, refer to OcrAutoRecognizeJobOperationEventArgs.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IOcrAutoRecognizeManager Interface
IOcrAutoRecognizeManager Members
Programming with LEADTOOLS .NET OCR

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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