←Select platform

ImageType Property

Summary

Gets or sets the barcode image type when reading barcodes.

Syntax

C#
VB
Java
Objective-C
C++
public BarcodeImageType ImageType { get; set; } 

Public Property ImageType As BarcodeImageType 

@property (nonatomic, assign) LTBarcodeImageType imageType 

public int getImageType() 
public void setImageType(BarcodeImageType value) 

public: 
property BarcodeImageType ImageType { 
   BarcodeImageType get(); 
   void set (    BarcodeImageType ); 
} 

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

Leadtools.Barcode Assembly