ImageGear .NET v25.1 - Updated
ScanDistance Property




ImageGear.Barcode Assembly > ImageGear.Barcode Namespace > ImGearBarcodeReader Class : ScanDistance Property
Gets or sets the scan distance in pixels between line sweeps when searching for 1D barcodes.
Syntax
'Declaration
 
Public Property ScanDistance As Integer
'Usage
 
Dim instance As ImGearBarcodeReader
Dim value As Integer
 
instance.ScanDistance = value
 
value = instance.ScanDistance
public int ScanDistance {get; set;}
public: __property int get_ScanDistance();
public: __property void set_ScanDistance( 
   int value
);
public:
property int ScanDistance {
   int get();
   void set (    int value);
}

Property Value

The scan distance in pixels between line sweeps when searching for 1D barcodes.
Remarks

Reducing this value can help in finding barcodes which are short relative to their height.

This value effects the run time of the barcode search. Smaller values will require more processing of the image.

Default value: 5

Valid values are 1 through 10.

See Also

Reference

ImGearBarcodeReader Class
ImGearBarcodeReader Members