VintaSoft Barcode .NET SDK 14.3: Documentation for .NET developer
Vintasoft.Barcode Namespace / ReaderSettings Class / ScanDirection Property
Syntax Remarks Example Requirements SeeAlso
In This Topic
    ScanDirection Property (ReaderSettings)
    In This Topic
    Gets or sets the direction for barcode search.
    Syntax
    'Declaration
    
    <DescriptionAttribute("Direction for barcode search.")>
    <DefaultValueAttribute("Horizontal, Vertical")>
    Public Property ScanDirection As ScanDirection
    
    
    [Description("Direction for barcode search.")]
    [DefaultValue("Horizontal, Vertical")]
    public ScanDirection ScanDirection { get; set; }
    
    
    [Description("Direction for barcode search.")]
    [DefaultValue("Horizontal, Vertical")]
    public: __property ScanDirection get_ScanDirection();
    public: __property void set_ScanDirection(
    ScanDirection value
    );
    [Description("Direction for barcode search.")]
    [DefaultValue("Horizontal, Vertical")]
    public:
    property ScanDirection ScanDirection { ScanDirection get(); void set(ScanDirection value); }

    Property Value

    Default value is ScanDirection.Vertical | ScanDirection.Horizontal.
    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: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also