←Select platform

Granularity Property (PostNetPlanetBarcodeReadOptions)

Summary

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

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
[DefaultValueAttribute()] 
[DisplayNameAttribute("Granularity")] 
[CategoryAttribute("            Options")] 
[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")] 
public int Granularity {get; set;} 
<DefaultValueAttribute()> 
<DisplayNameAttribute("Granularity")> 
<CategoryAttribute("         Options")> 
<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")> 
Public Property Granularity As Integer 
[DefaultValueAttribute()] 
[DisplayNameAttribute("Granularity")] 
[CategoryAttribute("            Options")] 
[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")] 
public int Granularity {get; set;} 
@property (nonatomic, assign) NSInteger granularity 
public int getGranularity() 
public void setGranularity(int value) 
             
DefaultValueAttribute() 
DisplayNameAttribute("Granularity") 
CategoryAttribute("         Options") 
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") 
  
get_Granularity(); 
set_Granularity(value); 
Object.defineProperty('Granularity');  
[DefaultValueAttribute()] 
[DisplayNameAttribute("Granularity")] 
[CategoryAttribute("            Options")] 
[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")] 
public: 
property int Granularity { 
   int get(); 
   void set (    int ); 
} 

Property Value

An Int32 that indicates the number of scanned lines per column to skip when reading a barcode. Must be a value greater than 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 PostNetPlanetBarcodeReadOptions.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Barcode Assembly
Click or drag to resize