←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 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

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

Leadtools.Barcode Assembly