Twain.GetContrast
-----------------

Queries which contrast value to use.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Twain](component_Twain.md) | [3.5](newinversion35.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "Twain.GetContrast" ) ### Parameters

none

### Result

Returns the value.

### Description

Queries 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

- [Twain.SetContrast](TwainSetContrast.md)

This function is free to use.

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

  
[Twain.GetCompressionQuality](TwainGetCompressionQuality.md) - [Twain.GetDSIdentitiesCount](TwainGetDSIdentitiesCount.md)

[HTML Version](TwainGetContrast.shtml)