Leadtools.Barcode Namespace > FourStateBarcodeReadOptions Class : SearchDirection Property |
[DefaultValueAttribute()] [CategoryAttribute(" Direction")] [DescriptionAttribute("Direction to search for barcodes")] [DisplayNameAttribute("Search direction")] public BarcodeSearchDirection SearchDirection {get; set;}
'Declaration <DefaultValueAttribute()> <CategoryAttribute(" Direction")> <DescriptionAttribute("Direction to search for barcodes")> <DisplayNameAttribute("Search direction")> Public Property SearchDirection As BarcodeSearchDirection
'Usage Dim instance As FourStateBarcodeReadOptions Dim value As BarcodeSearchDirection instance.SearchDirection = value value = instance.SearchDirection
[DefaultValueAttribute()] [CategoryAttribute(" Direction")] [DescriptionAttribute("Direction to search for barcodes")] [DisplayNameAttribute("Search direction")] public BarcodeSearchDirection SearchDirection {get; set;}
ObjectiveC Syntax
Java Syntax
DefaultValueAttribute() CategoryAttribute(" Direction") DescriptionAttribute("Direction to search for barcodes") DisplayNameAttribute("Search direction") get_SearchDirection();
set_SearchDirection(value);
[DefaultValueAttribute()] [CategoryAttribute(" Direction")] [DescriptionAttribute("Direction to search for barcodes")] [DisplayNameAttribute("Search direction")] 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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2