ImageScannerFlatbedConfiguration.DefaultColorMode 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 the default color mode for the scanner's flatbed.
public:
property ImageScannerColorMode DefaultColorMode { ImageScannerColorMode get(); };
ImageScannerColorMode DefaultColorMode();
public ImageScannerColorMode DefaultColorMode { get; }
var imageScannerColorMode = imageScannerFlatbedConfiguration.defaultColorMode;
Public ReadOnly Property DefaultColorMode As ImageScannerColorMode
Property Value
The color mode.
Implements
Remarks
When a new scan session begins, this property chooses the default color mode based on the pixel data types and bit depths that each scanner device supports. This is the order of priority:
- AutoColor
- Color
- Grayscale
- BlackAndWhite If the scanner device doesn't support any of the standard color modes, the current scan source will be considered unavailable and the app won’t be able to scan from there.