GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / TwainGetAvailableBarCodeTypeCount Method





In This Topic
TwainGetAvailableBarCodeTypeCount Method (GdPictureImaging)
In This Topic
If barcode detection is available, returns the number of bar code types that can be detected.
Syntax
'Declaration
 
Public Function TwainGetAvailableBarCodeTypeCount() As Integer
public int TwainGetAvailableBarCodeTypeCount()
public function TwainGetAvailableBarCodeTypeCount(): Integer; 
public function TwainGetAvailableBarCodeTypeCount() : int;
public: int TwainGetAvailableBarCodeTypeCount(); 
public:
int TwainGetAvailableBarCodeTypeCount(); 

Return Value

If Success, non zero: the number of bar code types that can be detected. Else 0 if fail. Use TwainGetLastResultCode() and TwainGetLastConditionCode() methods for diagnosing the error.
Remarks
Before using this method check that the TWAIN state is >= 4 (TWAIN_SOURCE_OPEN) To get the TWAIN state, use the TwainGetState() method.
See Also