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;}
ObjectiveC Syntax
Java Syntax
get_Status();
set_Status(value);
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.
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