LEADTOOLS Barcode (Leadtools.Barcode assembly)

BarcodeReadSymbologyEventArgs Class

Show in webframe







Members 
Contains data for the ReadSymbology event.
Object Model
Syntax
public class BarcodeReadSymbologyEventArgs : System.EventArgs 
'Declaration
 
Public Class BarcodeReadSymbologyEventArgs 
   Inherits System.EventArgs
'Usage
 
Dim instance As BarcodeReadSymbologyEventArgs
public sealed class BarcodeReadSymbologyEventArgs : ~Remove~ 
@interface LTBarcodeReadSymbologyEventArgs : NSObject
public class BarcodeReadSymbologyEvent extends LeadEvent
function Leadtools.Barcode.BarcodeReadSymbologyEventArgs()
public ref class BarcodeReadSymbologyEventArgs : public System.EventArgs 
Remarks

You can use the ReadSymbology event to obtain information and set the status of the current barcode reading operation.

When reading barcodes using BarcodeReader.ReadBarcode or BarcodeReader.ReadBarcodes, the BarcodeReader object will fire the ReadSymbology event multiple times depending on the symbologies being read.

LEADTOOLS barcode reading is designed for speed and multiple barcode symbologies can be read (or searched for) in one operation as these barcodes share similar characteristics. Therefore, the symbologies being read are stored in a BarcodeSymbology array and can be obtained with the BarcodeReadSymbologyEventArgs.GetSymbologies method.

The following table lists the event members and their meanings:

Member Description
Operation

Can be either BarcodeReadSymbologyOperation.PreRead if the BarcodeReader is about to try reading the symbologies or BarcodeReadSymbologyOperation.PreRead when the reader has finished reading the objects.

GetSymbologies

Will return the current symbologies being searched for or that have been read.

Options

The BarcodeReadOptions or one of its derived classes that specify the options being used to read the symbologies. This could be the options passed through the read methods or the default options set in BarcodeReader.

Data

A BarcodeData object that contains the data of the barcode found. Only valid if Operation is BarcodeReadSymbologyOperation.PostRead and no error occurred. Otherwise, it will be null (Nothing in Visual Basic).

Error

An System.Exception object that contains any error encountered during the current operation. If no errors are encountered, then this member will be null (Nothing in Visual Basic).

Status

The status of the operation. The BarcodeReader will always set this member to BarcodeReadSymbologyEventArgs.Continue, which means proceed to the next phase of the read operation. You can set this member to BarcodeReadSymbologyStatus.Skip to skip reading the current symbologies (only when Operation is BarcodeReadSymbologyOperation.PreRead) or to abort the whole read operation by setting it to BarcodeReadSymbologyStatus.Abort.

Example

For an example, refer to BarcodeReader.ReadSymbology.

Requirements

Target Platforms

See Also

Reference

BarcodeReadSymbologyEventArgs Members
Leadtools.Barcode Namespace
BarcodeReader.ReadSymbology

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Barcode requires a Barcode Module license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features