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.DualApiPartition(version=100859904)]
/// [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.DualApiPartition(version=100859904)]
[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
ImageScannerFlatbedConfiguration
Attributes
Implements

Windows 10 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 for the Flatbed scanner, in 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