VintaSoft Barcode .NET SDK v10.0
ScanInterval Property (ReaderSettings)




Vintasoft.Barcode Namespace > ReaderSettings Class : ScanInterval Property
Gets or sets the scan interval for barcode search.
Syntax
'Declaration
 
<DefaultValueAttribute()>
<DescriptionAttribute("Scan interval for barcode search.")>
Public Property ScanInterval As Integer
'Usage
 
Dim instance As ReaderSettings
Dim value As Integer
 
instance.ScanInterval = value
 
value = instance.ScanInterval
[DefaultValue()]
[Description("Scan interval for barcode search.")]
public int ScanInterval {get; set;}
[DefaultValue()]
[Description("Scan interval for barcode search.")]
public: __property int get_ScanInterval();
public: __property void set_ScanInterval( 
   int value
);
[DefaultValue()]
[Description("Scan interval for barcode search.")]
public:
property int ScanInterval {
   int get();
   void set (    int value);
}

Property Value

Minimum value is 1, maximum value is 255. Default value is 5.
Remarks
A value of 1 means scan every pixel row or column of the image; 2 means scan every second row or column, and so on.

Increasing the value of this field may result in faster reading of the image, but increases the probablility of not detecting narrow or poorly formed barcodes. Decreasing the value of this field can have the opposite effect: slower reading of the image but better barcode detection.
Example
Please see example here.
Requirements

Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

See Also

Reference

ReaderSettings Class
ReaderSettings Members