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