ClearImage .NET API
BarcodeFoundEvent Event





Inlite.ClearImageNet Namespace > BarcodeReader Class : BarcodeFoundEvent Event
Occurs when BarcodeReader.Read methods find a new barcode.
Syntax
'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.

PropertyDescription
Barcode object with information about just found barcode.  
Flag to abort barcode detection. Set 'true' to abort  
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