←Select platform

BarcodeImageType Enumeration

Summary
Determines the type of barcode image when reading barcodes.
Syntax
C#
VB
Objective-C
C++
Java
[SerializableAttribute()] 
public enum BarcodeImageType   
<SerializableAttribute()> 
Public Enum BarcodeImageType  
typedef NS_ENUM(NSInteger, LTBarcodeImageType) 
public enum BarcodeImageType 
[SerializableAttribute()] 
public enum class BarcodeImageType   
Members
ValueMemberDescription
0ScannedDocument

The barcode image is generated using a scanner.

1Picture

The barcode image is a picture taken from camera or video devices.

2Unknown

The barcode image type is unknown, try ScannedDocument first and if no barcodes were found, try Picture.

Remarks

This BarcodeImageType enumeration is used as the type for the BarcodeReader.ImageType property and is used to determine the type of barcode image when reading barcodes.

Barcode images generated by picture devices such as camera and video recorder may suffer problems different than the images generated by scanners, e.g., shadows, which may require special handling of the barcode image.

Unknown will try ScannedDocument type first and then if no barcodes were found, it will try Picture to that the engine will try both types of images. Therefore, using Unknown may naturally result in slower recognition speed. If you do not know the type of image or in a server situation were the images are sent from various source, then use Unknown to ensure that the engine exhausts all options trying to read the barcodes. LEADTOOLS barcode and Documents Web Services uses Unknown.

Requirements

Target Platforms

See Also

Reference

Leadtools.Barcode Namespace

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.