←Select platform

SearchDirection Property (MicroPDF417BarcodeReadOptions)

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

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