LEADTOOLS Barcode (Leadtools.Barcode assembly)
LEAD Technologies, Inc

Granularity Property (PatchCodeBarcodeReadOptions)








Gets or sets a value that indicates the number of scanned lines per column to skip when reading a barcode. .NET support WinRT support Silverlight support
Syntax
[DefaultValueAttribute()]
[DisplayNameAttribute("Granularity")]
[DescriptionAttribute("Number of scanned lines per column to skip when reading a barcode. A value of 9 means that each tenth line will be scanned when looking for a barcode. Scanning every line will slow the search process while skipping too many lines may skip over the barcode. Must be a value greater to or equal to 1")]
[CategoryAttribute("			Options")]
public int Granularity {get; set;}
'Declaration
 
<DefaultValueAttribute()>
<DisplayNameAttribute("Granularity")>
<DescriptionAttribute("Number of scanned lines per column to skip when reading a barcode. A value of 9 means that each tenth line will be scanned when looking for a barcode. Scanning every line will slow the search process while skipping too many lines may skip over the barcode. Must be a value greater to or equal to 1")>
<CategoryAttribute("			Options")>
Public Property Granularity As Integer
'Usage
 
Dim instance As PatchCodeBarcodeReadOptions
Dim value As Integer
 
instance.Granularity = value
 
value = instance.Granularity
[DefaultValueAttribute()]
[DisplayNameAttribute("Granularity")]
[DescriptionAttribute("Number of scanned lines per column to skip when reading a barcode. A value of 9 means that each tenth line will be scanned when looking for a barcode. Scanning every line will slow the search process while skipping too many lines may skip over the barcode. Must be a value greater to or equal to 1")]
[CategoryAttribute("			Options")]
public int Granularity {get; set;}
ObjectiveC Syntax
Java Syntax
DefaultValueAttribute()
DisplayNameAttribute("Granularity")
DescriptionAttribute("Number of scanned lines per column to skip when reading a barcode. A value of 9 means that each tenth line will be scanned when looking for a barcode. Scanning every line will slow the search process while skipping too many lines may skip over the barcode. Must be a value greater to or equal to 1")
CategoryAttribute("			Options")
 get_Granularity();
set_Granularity(value);
[DefaultValueAttribute()]
[DisplayNameAttribute("Granularity")]
[DescriptionAttribute("Number of scanned lines per column to skip when reading a barcode. A value of 9 means that each tenth line will be scanned when looking for a barcode. Scanning every line will slow the search process while skipping too many lines may skip over the barcode. Must be a value greater to or equal to 1")]
[CategoryAttribute("			Options")]
public:
property int Granularity {
   int get();
   void set (    int value);
}

Property Value

An System.Int32 that indicate the number of scanned lines per column to skip when reading a barcode. Must be a value greater to or equal to 1. The default value is 9.
Remarks

A value of 9 means that each tenth line will be scanned when looking for a barcode. Scanning every line will slow the search process while skipping too many lines may skip over the barcode.

Example

For an example, refer to PatchCodeBarcodeReadOptions.

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

PatchCodeBarcodeReadOptions Class
PatchCodeBarcodeReadOptions Members

 

 


Products | Support | Contact Us | Copyright Notices

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

Leadtools.Barcode requires a Barcode Module license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features