←Select platform

ImageType Property

Summary
Gets or sets the barcode image type when reading barcodes.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public BarcodeImageType ImageType { get; set; } 
@property (nonatomic, assign) LTBarcodeImageType imageType; 
public int getImageType() 
public void setImageType(BarcodeImageType value) 
public: 
property BarcodeImageType ImageType { 
   BarcodeImageType get(); 
   void set (    BarcodeImageType ); 
} 
ImageType # get and set (BarcodeReader) 

Property Value

A BarcodeImageType enumeration member that indicates the image type when reading barcodes. The default value is BarcodeImageType.ScannedDocument.

Remarks

ImageType 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

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

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