LEADTOOLS Barcode (Leadtools.Barcode assembly)
LEAD Technologies, Inc

Status Property








Gets or sets the status of the read operation. .NET support WinRT support Silverlight support
Syntax
public BarcodeReadSymbologyStatus Status {get; set;}
'Declaration
 
Public Property Status As BarcodeReadSymbologyStatus
'Usage
 
Dim instance As BarcodeReadSymbologyEventArgs
Dim value As BarcodeReadSymbologyStatus
 
instance.Status = value
 
value = instance.Status
public BarcodeReadSymbologyStatus Status {get; set;}
ObjectiveC Syntax
Java Syntax
 get_Status();
set_Status(value);
public:
property BarcodeReadSymbologyStatus Status {
   BarcodeReadSymbologyStatus get();
   void set (    BarcodeReadSymbologyStatus value);
}

Property Value

A BarcodeReadSymbologyStatus enumeration member that specifies the status of the read operation. Default value is BarcodeReadSymbologyStatus.Continue.
Remarks

The BarcodeReader always sets the value of this property BarcodeReadSymbologyStatus.Continue. You can change the value of this property to another value depending on your application logic. The following table lists the status values and their meaning:

Value Description
BarcodeReadSymbologyStatus.Continue

Continue reading the next barcode(s) (if any). This is the default behavior.

BarcodeReadSymbologyStatus.Skip

Skip reading the current barcode symbologies and move to the next (if any). Setting BarcodeReadSymbologyEventArgs.Status to Skip will have an affect only if the BarcodeEngine is about to read the barcodes. i.e., when the value of BarcodeReadSymbologyEventArgs.Operation is BarcodeReadSymbologyOperation.PreRead.

When the operation is BarcodeReadSymbologyOperation.PostRead and the reader has finished reading the barcodes, then setting the status to Skip will have no effect.

BarcodeReadSymbologyStatus.Abort

Abort the read operation. The BarcodeReader will stop trying to read barcodes and the read operation will end. This can be used when the BarcodeReadSymbologyEventArgs.Operation is BarcodeReadSymbologyOperation.PreRead or BarcodeReadSymbologyOperation.PostRead.

Example

For an example, refer to BarcodeReader.ReadSymbology.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

BarcodeReadSymbologyEventArgs Class
BarcodeReadSymbologyEventArgs Members
BarcodeReader.ReadSymbology

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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