Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.22
|
Leadtools.Barcode Namespace > BarcodeReader Class : ImageType Property |
public BarcodeImageType ImageType {get; set;}
'Declaration
Public Property ImageType As BarcodeImageType
'Usage
Dim instance As BarcodeReader Dim value As BarcodeImageType instance.ImageType = value value = instance.ImageType
public 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');
public: property BarcodeImageType ImageType { BarcodeImageType get(); void set ( BarcodeImageType value); }
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.