Class IronBarCodeConfidenceThresholdException
Class for argument exception of confidence threshold
Inheritance
Namespace: IronBarCode.Exceptions
Assembly: IronBarCode.dll
Syntax
public class IronBarCodeConfidenceThresholdException : ArgumentException
A confidence-threshold value outside the range IronBarcode accepts triggers IronBarCodeConfidenceThresholdException. It is raised when reader options set a minimum confidence that is invalid, for example a number below zero or above the allowed maximum. Set the threshold to a value within the permitted range so detected barcodes can be filtered by reading confidence, then run the read again. Because it reports a bad argument, it derives from ArgumentException rather than the IronBarcode base exception.
Constructors
IronBarCodeConfidenceThresholdException(String, Double)
Create confidence threshold exception message
Declaration
public IronBarCodeConfidenceThresholdException(string paramName, double threshold)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | paramName | name of parameter that contains confidence threshold |
| System.Double | threshold | value of confidence threshold |