DTWAIN_SetContrastString
The DTWAIN_SetContrastString function sets the current Contrast value for the Source.
DTWAIN_BOOL DTWAIN_SetContrastString (
Parameters Source An open TWAIN Source.
Contrast The Contrast value to set the Source.
Return Values The return value is TRUE if successful. Otherwise FALSE is returned.
Character specific versions
Comments The DTWAIN_SetContrastString function works exactly the same way as DTWAIN_SetContrast, with the exception of the LPCTSTR parameter, which is a string that denote the value to use.
For example: DTWAIN_SetContrastString( Source, "1000.0")
TWAIN State Transitions The Source must be in State 4. or higher
Prerequisite Function Call(s) DTWAIN Source Selection Function
See Also |