GdPicture.NET Reference Guide
TwainIsBarcodeDetectionAvailable Method (GdPictureImaging)

GdPicture14 Namespace > GdPictureImaging Class : TwainIsBarcodeDetectionAvailable Method
Asks to the opened source if she can support the barcode detection capability.
Public Function TwainIsBarcodeDetectionAvailable() As Boolean
public bool TwainIsBarcodeDetectionAvailable()
public function TwainIsBarcodeDetectionAvailable(): Boolean; 
public function TwainIsBarcodeDetectionAvailable() : boolean;
public: bool TwainIsBarcodeDetectionAvailable(); 
bool TwainIsBarcodeDetectionAvailable(); 

Return Value

bool. TRUE if support the barcode detection, FALSE otherwise -> Use TwainGetLastResultCode() and TwainGetLastConditionCode() methods for diagnosing the error.
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


GdPictureImaging Class
GdPictureImaging Members
TwainGetState Method
TwainSetBarcodeDetection Method
TwainIsBarcodeDetectionEnabled Method