VintaSoft Barcode .NET SDK 15.0: Documentation for .NET developer
Vintasoft.Barcode Namespace / ReaderSettings Class / Threshold Property
Syntax Example Requirements SeeAlso
In This Topic
    Threshold Property (ReaderSettings)
    In This Topic
    Gets or sets the threshold value for algorithm of color conversion.
    Syntax
    'Declaration
    
    <DescriptionAttribute("Threshold value for algorithm of color conversion.")>
    <DefaultValueAttribute(500)>
    Public Property Threshold As Integer
    
    
    [Description("Threshold value for algorithm of color conversion.")]
    [DefaultValue(500)]
    public int Threshold { get; set; }
    
    
    [Description("Threshold value for algorithm of color conversion.")]
    [DefaultValue(500)]
    public: __property int get_Threshold();
    public: __property void set_Threshold(
    int value
    );
    [Description("Threshold value for algorithm of color conversion.")]
    [DefaultValue(500)]
    public:
    property int Threshold { int get(); void set(int value); }

    Property Value

    Minimum value is 0, maximum value is 765. Default value is 500.
    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