IImageScannerSourceConfiguration.Brightness Property

Definition

Configures the current brightness level for capturing image data from the scan source. On a new scan session, the value of this property is 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 = iImageScannerSourceConfiguration.brightness;
iImageScannerSourceConfiguration.brightness = int32;
Public Property Brightness As Integer

Property Value

Int32

int

The brightness level.

Remarks

This property's value must be between MinBrightness and MaxBrightness, and is related to BrightnessStep with this equation:

Brightness = MinBrightness + (N*BrightnessStep)

where N is a positive integer smaller than or equal to (MaxBrightness - MinBrightness) / BrightnessStep.

Your app can return the brightness level to default by setting the value of this property to the DefaultBrightness property value. If the scanner doesn't allow brightness changes, MinBrightness, MaxBrightness and DefaultBrightness are set to the same value-oftentimes 0, the BrightnessStep is set to 0, and the app can't change the Brightness property to a different value other than DefaultBrightness.

Applies to