SetBrightness  Method

Description         This method specifies the value of brightness of the scanner.

Usage                  ret = [form.]TWAIN. SetBrightness lBrightness

Returns               ret                           Long                Return TW_OK on success or an error code on failure.

Remarks             lBrightness             Long                Value of the brightness.

Programing Notes           Important: Before scanning, if the scanner specific driver user interface is enabled, the driver most likely will overwrite the brightness value set by this method.

See Also              GetBrightness Method