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