ImageScannerFlatbedConfiguration.Brightness Property

Definition

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

Int32

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.

Applies to