Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ImageScannerFeederConfiguration.DefaultColorMode | defaultColorMode property

Gets the default color mode for the scanner's Feeder.

Syntax


var defaultColorMode = imageScannerFeederConfiguration.defaultColorMode;

Property value

Type: ImageScannerColorMode

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 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.

Requirements (Windows 10 device family)

Device family

Desktop, introduced version 10.0.10240.0

API contract

Windows.Devices.Scanners.ScannerDeviceContract, introduced version 1.0

Namespace

Windows.Devices.Scanners
Windows::Devices::Scanners [C++]

Metadata

Windows.Devices.Scanners.ScannerDeviceContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

None supported

Namespace

Windows.Devices.Scanners
Windows::Devices::Scanners [C++]

Metadata

Windows.winmd

See also

ImageScannerFeederConfiguration

 

 

Show: