VintaSoft Barcode .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Barcode Namespace / CameraBarcodeScanner Class / ThresholdCount Property
Syntax Exceptions Requirements SeeAlso
In This Topic
    ThresholdCount Property (CameraBarcodeScanner)
    In This Topic
    Gets or sets the number of recognition steps in the range of thresholds.
    Syntax
    'Declaration
    
    Public Property ThresholdCount As Integer
    
    
    public int ThresholdCount { get; set; }
    
    
    public: __property int get_ThresholdCount();
    public: __property void set_ThresholdCount(
    int value
    );
    public:
    property int ThresholdCount { int get(); void set(int value); }

    Property Value

    1 - the threshold range, which is definded using the ThresholdRange property, will NOT be divided, i.e. the ThresholdRange does not have effect;
    2 - the threshold range will be divided into 2 steps;
    N - the threshold range will be divided into N steps.
    Default value is 5.
    Exceptions
    ExceptionDescription
    Thrown if value is less than 1.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also