←Select platform

Operation Property

Summary

Gets the current barcode read operation.

Syntax

C#
VB
Java
Objective-C
C++
public BarcodeReadSymbologyOperation Operation { get; } 

Public ReadOnly Property Operation As BarcodeReadSymbologyOperation 

@property (nonatomic, assign, readonly) LTBarcodeReadSymbologyOperation operation 

public BarcodeReadSymbologyOperation getOperation() 

public: 
property BarcodeReadSymbologyOperation Operation { 
   BarcodeReadSymbologyOperation get(); 
} 

Property Value

A BarcodeReadSymbologyOperation enumeration member that specifies the current barcode read operation.

Remarks

The value of Operation is set by the BarcodeReader object as follows:

Value Description
BarcodeReadSymbologyOperation.PreRead

The BarcodeReader object is about to read the barcode symbologies in GetSymbologies.

The input parameters are: The symbologies to be read can be obtained through the GetSymbologies method and the associated read options are in the Options property.

BarcodeReadSymbologyOperation.PostRead

The BarcodeReader has finished reading the barcode symbologies.

The input parameters are: The symbologies to be read can be obtained through the GetSymbologies method and the associated read options are in the Options property.

The resulting parameters are: The barcode data found which is in the Data property and may contain a valid BarcodeData object or null (Nothing in Visual Basic) when an error occurs or no barcode of this type is found. In case of an error, the exception is in the Error property (Refer to BarcodeReader.ErrorMode for more information).

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