Leadtools.Barcode Requires Barcode add-on license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Granularity Property
See Also 
Leadtools.Barcode Namespace > Barcode1d Class : Granularity Property



Gets or sets the number of scanned lines per column to skip when reading a barcode.

Syntax

Visual Basic (Declaration) 
Public Property Granularity As Integer
Visual Basic (Usage)Copy Code
Dim instance As Barcode1d
Dim value As Integer
 
instance.Granularity = value
 
value = instance.Granularity
C# 
public int Granularity {get; set;}
C++/CLI 
public:
property int Granularity {
   int get();
   void set (int value);
}

Return Value

Number of scanned lines per column to skip when reading a barcode. The default value is 9, this means that each tenth line will be scanned while looking for a barcode.

Example

For an example, refer to BarcodeEngine.Read example.

Remarks

This property is valid only for the BarcodeEngine.Read method. Scanning every line will slow the search process while skipping too many lines may skip over the barcode.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Barcode requires a Barcode Module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features