ClearImage .NET API
ObjectFoundEvent Event





Inlite.ClearImageNet Namespace > ImageEditor Class : ObjectFoundEvent Event
Occurs new object is found by the ImageEditor.GetObjects method.
Syntax
'Declaration
 
Public Event ObjectFoundEvent As ImageEditor.ObjectFoundEventHandler
'Usage
 
Dim instance As ImageEditor
Dim handler As ImageEditor.ObjectFoundEventHandler
 
AddHandler instance.ObjectFoundEvent, handler
public event ImageEditor.ObjectFoundEventHandler ObjectFoundEvent
public event ObjectFoundEvent: ImageEditor.ObjectFoundEventHandler; 
In JScript, you can handle the events defined by another class, but you cannot define your own.
public:
event ImageEditor.ObjectFoundEventHandler^ ObjectFoundEvent
Event Data

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

PropertyDescription
Flag to abort object detection. Set 'true' to abort  
Number of object found during this ImageEditor.GetObjects operation  
ImageObject object with information about just found image object.  
Remarks
This event allows to process ImageObject data as soon as new barcode is found.  Set cancel to true to stop further object search.
See Also