Datalogic .NET SDK
ScanPress (Event)
Syntax
public event DecodeScanPress ScanPress
Description
The Datalogic.API.DecodeEvent.ScanPress delegate is used when the decoder raises an event. All methods referenced by Datalogic.API.DecodeEvent.DecodeScanPress will be invoked after the decoder raises an event.
Example
private DecodeEvent dcdEvent; private DecodeHandle hDcd;
private void MainDlg_Load(object sender, System.EventArgs e) { hDcd = new DecodeHandle(DecodeDeviceCap.Exists | DecodeDeviceCap.Barcode); // Initialize event dcdEvent = new DecodeEvent(hDcd, reqType, this); dcdEvent.ScanPress += new DecodeScanPress(dcdEvent_ScanPress); }
// Method to use when the there is a ScanPress event. private void dcdEvent_ScanPress(object sender, DecodeEventArgs e) { // ... }
|
See Also
DecodeScanPress (Delegate), Example #021.
Copyright © Datalogic ADC. All Right Reserved