| Visual Basic (Declaration) | |
|---|---|
Public Event BarcodeFoundEvent() As BarcodeReader.BarcodeFoundEventHandler | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public event BarcodeReader.BarcodeFoundEventHandler BarcodeFoundEvent() | |
| Managed Extensions for C++ | |
|---|---|
public: __event BarcodeReader.BarcodeFoundEventHandler* BarcodeFoundEvent(); | |
| C++/CLI | |
|---|---|
public: event BarcodeReader.BarcodeFoundEventHandler^ BarcodeFoundEvent(); | |
The event handler receives an argument of type BarcodeFoundEventArgs containing data related to this event. The following BarcodeFoundEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Barcode | Information about the last found barcode |
| cancel | Flag to abort barcode detection. Set 'true' to abort |
| Count | Number of barcodes found during this Read operation |