←Select platform

SearchDirection Property

Summary

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

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public BarcodeSearchDirection SearchDirection { get; set; } 
Public Property SearchDirection As Leadtools.Barcode.BarcodeSearchDirection 
public Leadtools.Barcode.BarcodeSearchDirection SearchDirection {get; set;} 
@property (nonatomic, assign) LTBarcodeSearchDirection searchDirection 
public BarcodeSearchDirection getSearchDirection() 
public void setSearchDirection(BarcodeSearchDirection value) 
             
 <br/>get_SearchDirection();<br/>set_SearchDirection(value);<br/>Object.defineProperty('SearchDirection');  

Property Value

A 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 barcodes horizontally due to performance reasons. But you may change to the appropriate read barcode option and specify either vertical or both (horizontal and vertical) search direction.

Example

For an example, refer to BarcodeReadOptions and MicroPDF417BarcodeReadOptions.

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