Error processing SSI file
LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)

Show in webframe

JobOperation Event








Occurs while a job is running.
Syntax
'Declaration
 
Event JobOperation As EventHandler(Of OcrAutoRecognizeJobOperationEventArgs)
'Usage
 
Dim instance As IOcrAutoRecognizeManager
Dim handler As EventHandler(Of OcrAutoRecognizeJobOperationEventArgs)
 
AddHandler instance.JobOperation, handler
- (void)autoRecognizeManager:(LTOcrAutoRecognizeManager *)manager willRunOperation:(LTOcrAutoRecognizeJobOperationEventArgs *)operation
- (void)autoRecognizeManager:(LTOcrAutoRecognizeManager*)manager didRunOperation:(LTOcrAutoRecognizeJobOperationEventArgs*)operation
            
synchronized public void addJobOperationListener(OcrAutoRecognizeJobOperationListener listener)
synchronized public void removeJobOperationListener(OcrAutoRecognizeJobOperationListener listener)
            
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.
DocumentFileName Gets the name of the document file being saved in the current operation.
DocumentWriterInstance Gets the 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.
PageImage Gets or sets the image used with 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.
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

See Also

Reference

IOcrAutoRecognizeManager Interface
IOcrAutoRecognizeManager Members
Programming with LEADTOOLS .NET OCR

Error processing SSI file
Leadtools.Forms.Ocr requires a Recognition or Document Imaging Suite license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features