←Select platform

Granularity Property

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++
public int Granularity { get; set; } 
Public Property Granularity As Integer 
public int Granularity {get; set;} 
@property (nonatomic, assign) NSInteger granularity 
public int getGranularity() 
public void setGranularity(int value) 
             
 <br/>get_Granularity();<br/>set_Granularity(value);<br/>Object.defineProperty('Granularity');  
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

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

Leadtools.Barcode Assembly