←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
Objective-C
C++
Java
public int Granularity { get; set; } 
Public Property Granularity As Integer 
@property (nonatomic, assign) NSInteger granularity 
public int getGranularity() 
public void setGranularity(int value) 
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 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 OneDBarcodeReadOptions.

Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.