See Also Examples Applies To
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
object.TwainBarCodeGetConfidence (nBarCodeNo)
The TwainBarCodeGetConfidence syntax has these parts:
| Part | Description |
| object | Required. An object expression that evaluates to an object in the Applies To list. |
| nBarCodeNo | Required. Long. The barcode number. Must be value between 1 and the number of detected barcodes. |
Returns
Long. 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 function make sure that the barcode detection was enabled by the TwainSetBarcodeDetection() function.
Use the TwainBarCodeGetCount() function to determine how many barcodes have been detected on the last acquired image.
Category
TWAIN Functions