←Select platform

Operation Property

Summary

Gets the current barcode read operation.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public BarcodeReadSymbologyOperation Operation { get; } 
Public ReadOnly Property Operation As Leadtools.Barcode.BarcodeReadSymbologyOperation 
@property (nonatomic, assign, readonly) LTBarcodeReadSymbologyOperation operation 
public BarcodeReadSymbologyOperation getOperation() 
 get_Operation();  

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly