Datalogic .NET SDK

ScanRelease (Event)

 

Syntax

 

public event DecodeScanRelease ScanRelease

 

 

Class                           : DecodeEvent

Namespace                : Datalogic.API

Assembly                   : Datalogic.API.DLL

 

 

Description

The Datalogic.API.DecodeEvent.ScanRelease delegate is used when the decoder raises an event. All methods referenced by Datalogic.API.DecodeEvent.DecodeScanRelease 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.ScanRelease += new DecodeScanRelease(dcdEvent_ScanRelease);     

   }

 

   // Method to use when the there is a Scanned event.

   private void dcdEvent_ScanRelease(object sender, DecodeEventArgs e)  

   {

      // ...

   }

 

 

 

See Also

DecodeScanRelease (Delegate),  Example #021.

 

 

Copyright © Datalogic ADC. All Right Reserved