SetContrast  Method

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

Usage                  ret = [form.]TWAIN. SetContrast lContrast

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

Remarks             lContrast                Long                Value of the contrast.

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

See Also              GetContrast Method