ImageScannerFlatbedConfiguration.Brightness 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.
Gets or sets the current brightness level for capturing image data from the scanner's flatbed. At the beginning of a new scan session, this property is set to the DefaultBrightness property.
public:
property int Brightness { int get(); void set(int value); };
int Brightness();
void Brightness(int value);
public int Brightness { get; set; }
var int32 = imageScannerFlatbedConfiguration.brightness;
imageScannerFlatbedConfiguration.brightness = int32;
Public Property Brightness As Integer
Property Value
int
The current brightness level.
Implements
Remarks
Your app can set the value of this property to any Int32 value between the MinBrightness and MaxBrightness values, and also relates to the BrightnessStep value with this equation:
Brightness = MinBrightness + (N * BrightnessStep)
where N is a positive integer smaller than or equal to (MaxBrightness - MinBrightness) / BrightnessStep.
The app can return the brightness level to default by setting the value of this property to DefaultBrightness.
If the scanner doesn't allow brightness adjustments, MinBrightness, MaxBrightness and DefaultBrightness are set to the same value-oftentimes 0, the BrightnessStep value is 0, and the app can't set the Brightness property to a value other than DefaultBrightness.