'Declaration
Public Event BarcodeFoundEvent As BarcodeReader.BarcodeFoundEventHandler
'Usage
Dim instance As BarcodeReader Dim handler As BarcodeReader.BarcodeFoundEventHandler AddHandler instance.BarcodeFoundEvent, handler
public event BarcodeReader.BarcodeFoundEventHandler BarcodeFoundEvent
public event BarcodeFoundEvent: BarcodeReader.BarcodeFoundEventHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: event BarcodeReader.BarcodeFoundEventHandler^ BarcodeFoundEvent
Event Data
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 | Barcode object with information about just found barcode. |
cancel | Flag to abort barcode detection. Set 'true' to abort |
Count | Number of barcodes found during this Read operation |
Remarks
This event allows processing Barcode data as soon as a new barcode is found. Set cancel to true to stop further barcode reading.
See Also