←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
WinRT C#
C++
public int WhiteLinesNumber { get; set; } 
Public Property WhiteLinesNumber As Integer 
public int WhiteLinesNumber {get; set;} 
@property (nonatomic, assign) NSInteger whiteLinesNumber 
public int getWhiteLinesNumber() 
public void setWhiteLinesNumber(int value) 
             
 <br/>get_WhiteLinesNumber();<br/>set_WhiteLinesNumber(value);<br/>Object.defineProperty('WhiteLinesNumber');  
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly