IImageScannerSourceConfiguration.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 this scan source.
public:
property ImageScannerColorMode DefaultColorMode { ImageScannerColorMode get(); };
ImageScannerColorMode DefaultColorMode();
public ImageScannerColorMode DefaultColorMode { get; }
var imageScannerColorMode = iImageScannerSourceConfiguration.defaultColorMode;
Public ReadOnly Property DefaultColorMode As ImageScannerColorMode
Property Value
The color mode.
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 order of priority is used:
- 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.