←Select platform

SearchDirection Property

Summary

Gets or sets a value that indicates the direction to use when searching for barcodes.

Syntax
C#
VB
Objective-C
C++
Java
public BarcodeSearchDirection SearchDirection { get; set; } 
Public Property SearchDirection As BarcodeSearchDirection 
@property (nonatomic, assign) LTBarcodeSearchDirection searchDirection 
public BarcodeSearchDirection getSearchDirection() 
public void setSearchDirection(BarcodeSearchDirection value) 
public: 
property BarcodeSearchDirection SearchDirection { 
   BarcodeSearchDirection get(); 
   void set (    BarcodeSearchDirection ); 
} 

Property Value

An BarcodeSearchDirection enumeration member that indicates the direction to use when searching for barcodes. The default value is BarcodeSearchDirection.Horizontal.

Remarks

The BarcodeReader class can search for barcodes in the image horizontally or vertically. By default, the reader will only search for the barcodes horizontally due to performance reasons. Alter this, by changing the appropriate read barcode options to specify vertical or both (horizontal and vertical) search direction.

Example

For an example, refer to BarcodeReadOptions and PostNetPlanetBarcodeReadOptions.

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