Windows desktop applications
Collapse the table of content
Expand the table of content
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.DefaultFormat | defaultFormat property

Gets the default file format for the scanner's Feeder at the beginning of a new scan session.

Syntax


var defaultFormat = imageScannerFeederConfiguration.defaultFormat;

Property value

Type: ImageScannerFormat

The file type.

Remarks

All WIA scanner devices support the Windows Device Independent Bitmap (DIB) format.

By default, these values in this order will be selected based on the file formats the device supports, from the smallest file size (in bytes) to the largest size:

1. Jpeg
2. Png
3. Bitmap

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:
© 2016 Microsoft