In This Topic
GdPicture14 Namespace / GdPictureImaging Class / TwainBarCodeGetCount Method

TwainBarCodeGetCount Method (GdPictureImaging)

In This Topic
If barcode detection is enabled, returns the number of bar codes found on the last acquired image.
Syntax
'Declaration
 
Public Function TwainBarCodeGetCount() As Integer
public int TwainBarCodeGetCount()
public function TwainBarCodeGetCount(): Integer; 
public function TwainBarCodeGetCount() : int;
public: int TwainBarCodeGetCount(); 
public:
int TwainBarCodeGetCount(); 

Return Value

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 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