Datalogic .NET SDK

ScanStop (Event)

 

Syntax

 

public event DecodeScanStop ScanStop

 

 

Class                           : DecodeEvent

Namespace                : Datalogic.API

Assembly                   : Datalogic.API.DLL

 

 

Description

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

   }

 

   // Method to use when the there is a Scan Stop event.

   private void dcdEvent_ScanStop(object sender, DecodeEventArgs e)

   {

      // ...

   }

 

 

 

See Also

DecodeScanStop(Delegate),  Example #021.

 

 

Copyright © Datalogic ADC. All Right Reserved