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





In This Topic
TwainBarCodeGetValue Method (GdPictureImaging)
In This Topic
Returns the text of a bar code found on the last acquired image.
Syntax
'Declaration
 
Public Function TwainBarCodeGetValue( _
   ByVal BarCodeNo As Integer _
) As String
public string TwainBarCodeGetValue( 
   int BarCodeNo
)
public function TwainBarCodeGetValue( 
    BarCodeNo: Integer
): String; 
public function TwainBarCodeGetValue( 
   BarCodeNo : int
) : String;
public: string* TwainBarCodeGetValue( 
   int BarCodeNo
) 
public:
String^ TwainBarCodeGetValue( 
   int BarCodeNo
) 

Parameters

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

Return Value

The barcode text.
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