Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

Twain.SetContrast

Sets which contrast value to use.

Component Version macOS Windows Linux Server iOS SDK
Twain 3.5 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "Twain.SetContrast"; Value )   More

Parameters

Parameter Description Example
Value The new brightness setting. 0

Result

Returns OK.

Description

Sets which contrast value to use.
Scale the values available internally into a homogeneous range between -1000 and 1000. Make sure that a '0' value is available as the Current value when the Source starts up. If the Source's ± range is asymmetric about the '0' value, set range maxima to ±1000 and scale homogeneously from the '0' value in each direction. This will yield a positive range whose step size differs from the negative range's step size.
Plugin uses value -10000 for undefined/default.

See also

This function is free to use.

Created 18th August 2014, last changed 18th August 2014


Twain.SetCompressionQuality - Twain.SetDefaultDSIdentity

💬 Ask a question or report a problem