In This Topic
GdPicture14 Namespace / GdPictureImaging Class / TwainIsBarcodeDetectionAvailable Method

TwainIsBarcodeDetectionAvailable Method (GdPictureImaging)

In This Topic
Asks to the opened source if she can support the barcode detection capability.
Syntax
'Declaration
 
Public Function TwainIsBarcodeDetectionAvailable() As Boolean
public bool TwainIsBarcodeDetectionAvailable()
public function TwainIsBarcodeDetectionAvailable(): Boolean; 
public function TwainIsBarcodeDetectionAvailable() : boolean;
public: bool TwainIsBarcodeDetectionAvailable(); 
public:
bool TwainIsBarcodeDetectionAvailable(); 

Return Value

bool. TRUE if support the barcode detection, FALSE otherwise -> Use TwainGetLastResultCode() and TwainGetLastConditionCode() methods for diagnosing the error.
Remarks
Before using this method check that the TWAIN state is TWAIN_SOURCE_OPEN (4) To get the TWAIN state, use the TwainGetState() method.
See Also