Leadtools.Barcode Namespace > BarcodeReadSymbologyEventArgs Class : Status Property |
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;}
@property (nonatomic, assign, readonly) LTBarcodeReadSymbologyStatus status;
public BarcodeReadSymbologyStatus getStatus() public void setStatus(BarcodeReadSymbologyStatus value)
get_Status();
set_Status(value);
Object.defineProperty('Status');
public: property BarcodeReadSymbologyStatus Status { BarcodeReadSymbologyStatus get(); void set ( BarcodeReadSymbologyStatus value); }
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. |
For an example, refer to BarcodeReader.ReadSymbology.