#include "BiTwain.h"
int CALLBACK SetContrast(int contrast)
Description
This function specifies the value of contrast of the scanner.
Important: Before scanning, if the scanner specific driver user interface is enabled, the driver most likely will overwrite the contrast value set by this function.
Parameters
|
int |
contrast |
Contrast value. |
Return values
Return TW_OK on success or an error code on failure.
Return TW_INVALIDPARAMETER if the resx parameter is invalid for the scanner.
Requirements
Header : Declared in BiTwain.h; include BiTwain.h.
Library : Use BiTwain.lib.
DLLs : BiTwain.dll.