←Select platform

Granularity Property

Summary

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

Syntax

C#
VB
C++
[DataMemberAttribute(Name="Granularity", IsRequired=true)] 
public int Granularity { get; set; } 
  
<DataMemberAttribute(Name="Granularity", IsRequired=True)> 
Public Property Granularity As Integer 
[DataMemberAttribute(Name="Granularity", IsRequired=true)] 
public: 
property int Granularity { 
   int get(); 
   void set (    int ); 
} 

Property Value

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

Remarks

This property is valid only for the Leadtools.Services.Barcode.ServiceContracts.IBarcodeService.Read operation. Scanning every line slows the search process, whereas skipping very many lines may result in skipping over the barcode.

Example

For an example, refer to Barcode1d example.

Requirements

Target Platforms

See Also

Reference

Barcode1d Class

Barcode1d Members

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Services.Barcode.DataContracts Assembly