Leadtools.Barcode Namespace > MicroPDF417BarcodeReadOptions 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 MicroPDF417BarcodeReadOptions 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 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.
For an example, refer to BarcodeReadOptions and MicroPDF417BarcodeReadOptions.