Leadtools.Barcode Namespace > PatchCodeBarcodeReadOptions Class : SearchDirection Property |
[DisplayNameAttribute("Search direction")] [CategoryAttribute(" Direction")] [DescriptionAttribute("Direction to search for barcodes")] [DefaultValueAttribute()] public BarcodeSearchDirection SearchDirection {get; set;}
'Declaration <DisplayNameAttribute("Search direction")> <CategoryAttribute(" Direction")> <DescriptionAttribute("Direction to search for barcodes")> <DefaultValueAttribute()> Public Property SearchDirection As BarcodeSearchDirection
'Usage Dim instance As PatchCodeBarcodeReadOptions Dim value As BarcodeSearchDirection instance.SearchDirection = value value = instance.SearchDirection
[DisplayNameAttribute("Search direction")] [CategoryAttribute(" 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)
DisplayNameAttribute("Search direction") CategoryAttribute(" Direction") DescriptionAttribute("Direction to search for barcodes") DefaultValueAttribute()
get_SearchDirection();
set_SearchDirection(value);
Object.defineProperty('SearchDirection');
[DisplayNameAttribute("Search direction")] [CategoryAttribute(" 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 in horizontal mode for 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 PatchCodeBarcodeReadOptions.