TwainSetBarcodeDetection Method

See Also     Examples     Applies To

If this option is available on opened source, try to enable or disable the barcode detection.

Syntax

object.TwainSetBarcodeDetection (bBarcodeDetection)

The TwainSetBarcodeDetection syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
bBarcodeDetection Required. Boolean. True to enable barcode detection, else False.

Returns

Boolean. TRUE if successful, FALSE otherwise -> Use TwainGetLastResultCode() and TwainGetLastConditionCode() functions for diagnosing the error.

Remarks

Before using this function check that the TWAIN state is TWAIN_SOURCE_OPEN (4)
To get the TWAIN state, use the TwainGetState() function.

Category

TWAIN Functions





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.