Skip to main content
ImageScannerFlatbedConfiguration class

Represents the Flatbed scan source of the scanner.

Syntax


var imageScannerFlatbedConfiguration = flatbedConfiguration;

public sealed class ImageScannerFlatbedConfiguration : IImageScannerFormatConfiguration,
    IImageScannerSourceConfiguration

Public NotInheritable Class ImageScannerFlatbedConfiguration
    Implements IImageScannerFormatConfiguration, _
    IImageScannerSourceConfiguration

public ref class ImageScannerFlatbedConfiguration sealed : IImageScannerFormatConfiguration,
    IImageScannerSourceConfiguration

Members

The ImageScannerFlatbedConfiguration class has these types of members:

Methods

The ImageScannerFlatbedConfiguration class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
IsAutoCroppingModeSupported Returns whether the scanner's Flatbed supports the specified ImageScannerAutoCroppingMode.
IsColorModeSupported Returns whether the scanner's Flatbed can scan and transfer images in the specified color mode.
IsFormatSupported Determines whether the scanner's Flatbed supports the specified file format or not.

 

Properties

The ImageScannerFlatbedConfiguration class has these properties.

PropertyAccess typeDescription

ActualResolution

Read-only

Gets the actual horizontal and vertical scan resolution for the Flatbed scanner, in DPI.

AutoCroppingMode

Read/write

Gets or sets the automatic crop mode.

Brightness

Read/write

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

Read-only

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

Read/write

Gets or sets the color mode for the Flatbed scanner.

Contrast

Read/write

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

Read-only

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

DefaultBrightness

Read-only

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

DefaultColorMode

Read-only

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

DefaultContrast

Read-only

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

DefaultFormat

Read-only

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

DesiredResolution

Read/write

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

Format

Read/write

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

MaxBrightness

Read-only

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

MaxContrast

Read-only

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

MaxResolution

Read-only

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

MaxScanArea

Read-only

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

Read-only

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

MinContrast

Read-only

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

MinResolution

Read-only

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

MinScanArea

Read-only

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

Read-only

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

SelectedScanRegion

Read/write

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.

 

Remarks

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

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 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps, desktop apps]

Minimum supported phone

None supported

Namespace

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

Metadata

Windows.winmd

Attributes

[ DualApiPartition()]
[ MarshalingBehavior(Agile)]
[ Threading(Both)]
[ Version(0x06030000)]

See also

Object
IImageScannerFormatConfiguration
IImageScannerSourceConfiguration