See Also Examples Applies To
Returns the Y coordinate of a bar code found on the last acquired image.
Syntax
object.TwainBarCodeGetYPos (nBarCodeNo)
The TwainBarCodeGetYPos 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 Y coordinate. Return -1 if current source does not support Y coordinate 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