VintaSoft Barcode .NET SDK v10.0
ScanDirection Property (ReaderSettings)




Vintasoft.Barcode Namespace > ReaderSettings Class : ScanDirection Property
Gets or sets the direction for barcode search.
Syntax
'Declaration
 
<DescriptionAttribute("Direction for barcode search.")>
<DefaultValueAttribute()>
Public Property ScanDirection As ScanDirection
'Usage
 
Dim instance As ReaderSettings
Dim value As ScanDirection
 
instance.ScanDirection = value
 
value = instance.ScanDirection
[Description("Direction for barcode search.")]
[DefaultValue()]
public ScanDirection ScanDirection {get; set;}
[Description("Direction for barcode search.")]
[DefaultValue()]
public: __property ScanDirection get_ScanDirection();
public: __property void set_ScanDirection( 
   ScanDirection value
);
[Description("Direction for barcode search.")]
[DefaultValue()]
public:
property ScanDirection ScanDirection {
   ScanDirection get();
   void set (    ScanDirection value);
}

Property Value

Default value is ScanDirection.LeftToRight.
Remarks
Different ScanDirection's may be logically OR'd to search for more in one direction.

The ScanDirection.Angle45and135 scan direction should be used only if image contains low and wide barcodes rotated to 30-60 degrees. Usage of this scan direction increase time of recognition.
Example
Please see example here.
Requirements

Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

See Also

Reference

ReaderSettings Class
ReaderSettings Members