LEADTOOLS WCF Barcode (Leadtools.Services.Barcode.DataContracts assembly)
LEAD Technologies, Inc

Granularity Property






Gets or sets the number of scanned lines per column to skip when reading a barcode.
Syntax
[DataMemberAttribute(Name="Granularity", IsRequired=true)]
public int Granularity {get; set;}
'Declaration
 
<DataMemberAttribute(Name="Granularity", IsRequired=True)>
Public Property Granularity As Integer
'Usage
 
Dim instance As Barcode1d
Dim value As Integer
 
instance.Granularity = value
 
value = instance.Granularity
[DataMemberAttribute(Name="Granularity", IsRequired=true)]
public int Granularity {get; set;}
DataMemberAttribute(Name="Granularity", IsRequired=)
 get_Granularity();
set_Granularity(value);
[DataMemberAttribute(Name="Granularity", IsRequired=true)]
public:
property int Granularity {
   int get();
   void set (    int value);
}

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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Barcode1d Class
Barcode1d Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Applications developed with LEADTOOLS WCF components require runtime licenses. Server licensing is required for applications on a server. For more information, refer to: LEADTOOLS Toolkit Features