| Visual Basic (Declaration) | |
|---|---|
Public Event ObjectFoundEvent() As ImageEditor.ObjectFoundEventHandler | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public event ImageEditor.ObjectFoundEventHandler ObjectFoundEvent() | |
| Managed Extensions for C++ | |
|---|---|
public: __event ImageEditor.ObjectFoundEventHandler* ObjectFoundEvent(); | |
| C++/CLI | |
|---|---|
public: event ImageEditor.ObjectFoundEventHandler^ ObjectFoundEvent(); | |
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.
| Property | Description |
|---|---|
| cancel | Flag to abort object detection. Set 'true' to abort |
| Count | Number of object found during this GetObjects operation |
| ImageObject | Information about the last found object |