Leadtools.Barcode Namespace > OneDBarcodeReadOptions Class : SearchDirection Property |
[CategoryAttribute(" Direction")] [DisplayNameAttribute("Search direction")] [DescriptionAttribute("Direction to search for barcodes")] [DefaultValueAttribute()] public BarcodeSearchDirection SearchDirection {get; set;}
'Declaration <CategoryAttribute(" Direction")> <DisplayNameAttribute("Search direction")> <DescriptionAttribute("Direction to search for barcodes")> <DefaultValueAttribute()> Public Property SearchDirection As BarcodeSearchDirection
'Usage Dim instance As OneDBarcodeReadOptions Dim value As BarcodeSearchDirection instance.SearchDirection = value value = instance.SearchDirection
[CategoryAttribute(" Direction")] [DisplayNameAttribute("Search direction")] [DescriptionAttribute("Direction to search for barcodes")] [DefaultValueAttribute()] public BarcodeSearchDirection SearchDirection {get; set;}
@property (nonatomic, assign) LTBarcodeSearchDirection searchDirection;
public BarcodeSearchDirection getSearchDirection() public void setSearchDirection(BarcodeSearchDirection value)
CategoryAttribute(" Direction") DisplayNameAttribute("Search direction") DescriptionAttribute("Direction to search for barcodes") DefaultValueAttribute()
get_SearchDirection();
set_SearchDirection(value);
Object.defineProperty('SearchDirection');
[CategoryAttribute(" Direction")] [DisplayNameAttribute("Search direction")] [DescriptionAttribute("Direction to search for barcodes")] [DefaultValueAttribute()] public: property BarcodeSearchDirection SearchDirection { BarcodeSearchDirection get(); void set ( BarcodeSearchDirection value); }
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.
For an example, refer to BarcodeReadOptions and OneDBarcodeReadOptions.