GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / TwainBarCodeGetConfidence Method
The barcode number. Must be value between 1 and the number of detected barcodes.





In This Topic
TwainBarCodeGetConfidence Method (GdPictureImaging)
In This Topic
Returns the degree of certainty of a bar code the engine has in the accuracy of the information obtained on the last acquired image.
Syntax
'Declaration
 
Public Function TwainBarCodeGetConfidence( _
   ByVal BarCodeNo As Integer _
) As Integer
public int TwainBarCodeGetConfidence( 
   int BarCodeNo
)
public function TwainBarCodeGetConfidence( 
    BarCodeNo: Integer
): Integer; 
public function TwainBarCodeGetConfidence( 
   BarCodeNo : int
) : int;
public: int TwainBarCodeGetConfidence( 
   int BarCodeNo
) 
public:
int TwainBarCodeGetConfidence( 
   int BarCodeNo
) 

Parameters

BarCodeNo
The barcode number. Must be value between 1 and the number of detected barcodes.

Return Value

The barcode confidence. From 0 (no confidence) to 100 (supreme confidence). Return -1 if current source does not support confidence reporting.
Remarks
Before using this method make sure that the barcode detection was enabled by the TwainSetBarcodeDetection() method. Use the TwainBarCodeGetCount() method to determine how many barcodes have been detected on the last acquired image.
See Also