ImageScannerFeederConfiguration.Contrast Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets or gets the current contrast level for capturing image data from the scanner's feeder. At the beginning of a new scan session this property is set to the DefaultContrast property.
public:
property int Contrast { int get(); void set(int value); };
int Contrast();
void Contrast(int value);
public int Contrast { get; set; }
var int32 = imageScannerFeederConfiguration.contrast;
imageScannerFeederConfiguration.contrast = int32;
Public Property Contrast As Integer
Property Value
int
The contrast level.
Implements
Remarks
Your app can set the value of this property to any Int32 value between the MinContrast and MaxContrast values, and also relates to the ContrastStep value with this equation:
Contrast = MinContrast + (N * ContrastStep)
where N is a positive integer smaller than or equal to (MaxContrast - MinContrast) / ContrastStep.
The app can return the contrast level to default by setting the value of this property to DefaultContrast.
If the scanner doesn't allow contrast adjustments, MinContrast, MaxContrast and DefaultContrast are set to the same value-oftentimes 0, the ContrastStep value is 0, and the app can't set the Contrast property to a value other than DefaultContrast.