ImageGear for .NET
Progress Event




Event fired during recognition processes to indicate progress and make it possible to abort.
Syntax
'Declaration
 
Public Event Progress As ImGearRecProgressEventHandler
'Usage
 
Dim instance As ImGearRecognition
Dim handler As ImGearRecProgressEventHandler
 
AddHandler instance.Progress, handler
public event ImGearRecProgressEventHandler Progress
public: __event ImGearRecProgressEventHandler* Progress
public:
event ImGearRecProgressEventHandler^ Progress
Event Data

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

PropertyDescription
Abort Gets or sets a value indicating whether the current sequence of recognition tasks aborted or not.
Percent Gets percent completion (from 0 to 100) of the current recognition task.
Process Gets process identifier of the current recognition task.
Remarks
This event is fired during various recognition processes. It can be used by an application to monitor which recognition process is being performed as well as percent completion on an individual process. It can also be used to abort a recognition process, if the application's event handler sets the ImGearRecProgressEventArgs.Abort property of the event arguments object ImGearRecProgressEventArgs class to true.

Only a minimal amount of work should be performed in the event handler for this event. The application must not access any recognition objects from the event handler other than the ImGearRecProgressEventArgs class argument.

See the documentation for ImGearRecProgressEventHandler delegate for an example of how to use this event.

See Also

Reference

ImGearRecognition Class
ImGearRecognition Members
ImGearRecProgressEventHandler Delegate

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback