Share via


IImageScannerFormatConfiguration.DefaultFormat Property

Definition

Gets the default file format for the scan source at the beginning of a new scan session.

public:
 property ImageScannerFormat DefaultFormat { ImageScannerFormat get(); };
ImageScannerFormat DefaultFormat();
public ImageScannerFormat DefaultFormat { get; }
var imageScannerFormat = iImageScannerFormatConfiguration.defaultFormat;
Public ReadOnly Property DefaultFormat As ImageScannerFormat

Property Value

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
    1. Png
    1. Bitmap

Applies to