ImageScannerFlatbedConfiguration Class

Definition

Represents the flatbed scan source of the scanner.

public ref class ImageScannerFlatbedConfiguration sealed : IImageScannerSourceConfiguration
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.Scanners.ScannerDeviceContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ImageScannerFlatbedConfiguration final : IImageScannerSourceConfiguration
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.Scanners.ScannerDeviceContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ImageScannerFlatbedConfiguration : IImageScannerSourceConfiguration
Public NotInheritable Class ImageScannerFlatbedConfiguration
Implements IImageScannerSourceConfiguration
Inheritance
Object Platform::Object IInspectable ImageScannerFlatbedConfiguration
Attributes
Implements

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.Devices.Scanners.ScannerDeviceContract (introduced in v1.0)

Remarks

This runtime class implements the IImageScannerSourceConfiguration interface and the IImageScannerFormatConfiguration interface.

Properties

ActualResolution

Gets the actual horizontal and vertical scan resolution to be used for the flatbed scanner, in dots-per-inch (DPI).

AutoCroppingMode

Gets or sets the automatic crop mode.

Brightness

Gets or sets the current brightness level for capturing image data from the scanner's flatbed. At the beginning of a new scan session, this property is set to the DefaultBrightness property.

BrightnessStep

Gets the step size at which the brightness levels of the data source can be increased or decreased between the minimum and maximum values.

ColorMode

Gets or sets the color mode for the flatbed scanner.

Contrast

Sets or gets the current contrast level for capturing image data from the scan source. At the beginning of a new scan session this property is set to the DefaultContrast property.

ContrastStep

Gets the step size at which the contrast levels of the data source can increase or decrease between the minimum and maximum values.

DefaultBrightness

Gets the default brightness level for the scanner's flatbed.

DefaultColorMode

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

DefaultContrast

Gets the default contrast level for the scanner's flatbed.

DefaultFormat

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

DesiredResolution

Gets or sets the horizontal and vertical scan resolution for the scanner's flatbed that the app requests, in DPI.

Format

Gets or sets the current file transfer format for image data acquisition from the scanner's flatbed to the client app.

MaxBrightness

Gets the maximum brightness level supported by the scanner's flatbed.

MaxContrast

Gets the maximum contrast level supported by the scanner's flatbed.

MaxResolution

Gets the maximum horizontal and vertical scan resolution of the scanner's flatbed in DPI.

MaxScanArea

Gets the maximum scan area dimensions in inches. The maximum scan width is the widest a document can be in order for the scanner's flatbed to scan it.

MinBrightness

Gets the minimum brightness level supported by the scanner's flatbed.

MinContrast

Gets the minimum contrast level supported by the scanner's flatbed.

MinResolution

Gets the minimum horizontal and vertical scan resolution of the scanner's flatbed in DPI.

MinScanArea

Gets the minimum scan area in inches. The minimum scan area is the smallest size a document can have in order for a flatbed to scan it.

OpticalResolution

Gets the optical scan resolution of the flatbed scanner in DPI.

SelectedScanRegion

Gets or sets the origin coordinates (horizontal and vertical) and dimensions (width and height) of the selected scan area, in inches. This property is ignored when the AutoCroppingMode property is not Disabled.

Methods

IsAutoCroppingModeSupported(ImageScannerAutoCroppingMode)

Returns whether the scanner's flatbed supports the specified ImageScannerAutoCroppingMode.

IsColorModeSupported(ImageScannerColorMode)

Returns whether the scanner's flatbed can scan and transfer images in the specified color mode.

IsFormatSupported(ImageScannerFormat)

Determines whether the scanner's flatbed supports the specified file format or not.

Applies to

See also