←Select platform

ImageType Property

Summary

Gets or sets the barcode image type when reading barcodes.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public BarcodeImageType ImageType { get; set; } 
Public Property ImageType As Leadtools.Barcode.BarcodeImageType 
public Leadtools.Barcode.BarcodeImageType ImageType {get; set;} 
@property (nonatomic, assign) LTBarcodeImageType imageType 
public int getImageType() 
public void setImageType(BarcodeImageType value) 
              
 <br/>get_ImageType();<br/>set_ImageType(value);<br/>Object.defineProperty('ImageType');  

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

Leadtools.Barcode Assembly