←Select platform

Status Property

Summary

Gets or sets the status of the read operation.

Syntax

C#
VB
Java
Objective-C
C++
public BarcodeReadSymbologyStatus Status { get; set; } 

Public Property Status As BarcodeReadSymbologyStatus 

@property (nonatomic, assign, readonly) LTBarcodeReadSymbologyStatus status 

public BarcodeReadSymbologyStatus getStatus() 
public void setStatus(BarcodeReadSymbologyStatus value) 

public: 
property BarcodeReadSymbologyStatus Status { 
   BarcodeReadSymbologyStatus get(); 
   void set (    BarcodeReadSymbologyStatus ); 
} 

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

Help Version 20.0.2018.6.20
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly