TwainSetAutoBrightness Method

See Also     Examples     Applies To

Try to enable or disable autobrightness scanning.

Syntax

object.TwainSetAutoBrightness (bAutoBrightness)

The TwainSetAutoBrightness syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
bAutoBrightness Required. Boolean. True to enable autobrightness, 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.