See Also Examples Applies To
If barcode detection is enabled, returns the number of bar codes found on the last acquired image.
Syntax
object.TwainBarCodeGetCount ()
The TwainBarCodeGetCount syntax has these parts:
| Part | Description |
| object | Required. An object expression that evaluates to an object in the Applies To list. |
Returns
Long. The number of bar codes found on the document image.
A value of 0 means the bar code engine was enabled but that no bar codes were found.
A value of -1 means the bar code engine was not enabled.
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