←Select platform

SearchDirection Property (PDF417BarcodeReadOptions)

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++
[DisplayNameAttribute("Search direction")] 
[CategoryAttribute("                    Direction")] 
[DescriptionAttribute("Direction to search for barcodes")] 
[DefaultValueAttribute()] 
public Leadtools.Barcode.BarcodeSearchDirection SearchDirection {get; set;} 
<DisplayNameAttribute("Search direction")> 
<CategoryAttribute("                 Direction")> 
<DescriptionAttribute("Direction to search for barcodes")> 
<DefaultValueAttribute()> 
Public Property SearchDirection As Leadtools.Barcode.BarcodeSearchDirection 
[DisplayNameAttribute("Search direction")] 
[CategoryAttribute("                    Direction")] 
[DescriptionAttribute("Direction to search for barcodes")] 
[DefaultValueAttribute()] 
public Leadtools.Barcode.BarcodeSearchDirection SearchDirection {get; set;} 
@property (nonatomic, assign) LTBarcodeSearchDirection searchDirection 
public BarcodeSearchDirection getSearchDirection() 
public void setSearchDirection(BarcodeSearchDirection value) 
             
DisplayNameAttribute("Search direction") 
CategoryAttribute("                 Direction") 
DescriptionAttribute("Direction to search for barcodes") 
DefaultValueAttribute() 
  
get_SearchDirection(); 
set_SearchDirection(value); 
Object.defineProperty('SearchDirection');  
[DisplayNameAttribute("Search direction")] 
[CategoryAttribute("                    Direction")] 
[DescriptionAttribute("Direction to search for barcodes")] 
[DefaultValueAttribute()] 
public: 
property Leadtools.Barcode.BarcodeSearchDirection SearchDirection { 
   Leadtools.Barcode.BarcodeSearchDirection get(); 
   void set (    Leadtools.Barcode.BarcodeSearchDirection ); 
} 

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 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 PDF417BarcodeReadOptions.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Barcode Assembly
Click or drag to resize