ClearImage .NET API
ImageOpenedEvent Event





Inlite.ClearImageNet Namespace > BarcodeReader Class : ImageOpenedEvent Event
Occurs when BarcodeReader.Read(fileName) or BarcodeReader.Read(fileName, pageNumber) methods open a new image for barcode reading.
Syntax
'Declaration
 
Public Event ImageOpenedEvent As BarcodeReader.ImageOpenedEventHandler
'Usage
 
Dim instance As BarcodeReader
Dim handler As BarcodeReader.ImageOpenedEventHandler
 
AddHandler instance.ImageOpenedEvent, handler
public event BarcodeReader.ImageOpenedEventHandler ImageOpenedEvent
public event ImageOpenedEvent: BarcodeReader.ImageOpenedEventHandler; 
In JScript, you can handle the events defined by another class, but you cannot define your own.
public:
event BarcodeReader.ImageOpenedEventHandler^ ImageOpenedEvent
Event Data

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

PropertyDescription
Flag to abort barcode detection. Set 'true' to abort  
ImageInfo object contains information about just opened image  
Remarks
Event indicate that new image is ready for barcode reading.   To skip reading barcodes on this image set cancel to true
See Also