←Select platform

SearchDirection Property (PharmaCodeBarcodeReadOptions)

Summary

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

Syntax

C#
VB
C++
[CategoryAttribute("                 Direction")] 
[DefaultValueAttribute()] 
[DisplayNameAttribute("Search direction")] 
[DescriptionAttribute("Direction to search for barcodes")] 
public Leadtools.Barcode.BarcodeSearchDirection SearchDirection {get; set;} 
<CategoryAttribute("                  Direction")> 
<DefaultValueAttribute()> 
<DisplayNameAttribute("Search direction")> 
<DescriptionAttribute("Direction to search for barcodes")> 
Public Property SearchDirection As Leadtools.Barcode.BarcodeSearchDirection 
[CategoryAttribute("                 Direction")] 
[DefaultValueAttribute()] 
[DisplayNameAttribute("Search direction")] 
[DescriptionAttribute("Direction to search for barcodes")] 
public: 
property Leadtools.Barcode.BarcodeSearchDirection SearchDirection { 
   Leadtools.Barcode.BarcodeSearchDirection get(); 
   void set (    Leadtools.Barcode.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 PharmaCodeBarcodeReadOptions.

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