Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Twain.SetBrightness

Sets the brightness setting to use.

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

Parameters

Parameter Description Example
Value The new brightness setting. 0

Result

Returns OK.

Description

Sets the brightness setting to use.
Source should normalize the values into the range. 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.SetAutomaticRotate - Twain.SetCancelScript