←Select platform

WhiteLinesNumber Property

Summary

Gets or sets a value that indicate the minimum number of lines of white space above and below the barcode symbol.

Syntax

C#
VB
Java
Objective-C
C++
public int WhiteLinesNumber { get; set; } 
Public Property WhiteLinesNumber As Integer 
@property (nonatomic, assign) NSInteger whiteLinesNumber 
public int getWhiteLinesNumber() 
public void setWhiteLinesNumber(int value) 
             
public: 
property int WhiteLinesNumber { 
   int get(); 
   void set (    int ); 
} 

Property Value

An Int32 that indicates the minimum number of lines of white space above and below the barcode symbol to use when reading a barcode. Must be a value greater than or equal to 0. The default value is 3.

Remarks

A barcode on an image usually has white space around it. This value defines the minimum number of white space lines (in pixels) that must exist around the barcode before it can be read. The default value of 3 means 3 pixels on the top and bottom of the barcode.

Change this value when the barcode is adjacent to another object on the image.

Example

For an example, refer to PostNetPlanetBarcodeReadOptions.

Requirements

Target Platforms

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

Leadtools.Barcode Assembly