Share via


ImageScannerFeederConfiguration Class

Definition

Represents the feeder scan source of the scanner.

public ref class ImageScannerFeederConfiguration sealed
/// [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 ImageScannerFeederConfiguration final
[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 ImageScannerFeederConfiguration
Public NotInheritable Class ImageScannerFeederConfiguration
Inheritance
Object Platform::Object IInspectable ImageScannerFeederConfiguration
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 IImageScannerFormatConfiguration, and IImageScannerSourceConfiguration interfaces.

Properties

ActualResolution

Gets the actual horizontal and vertical scan resolution for the scanner's feeder, in DPI.

AutoCroppingMode

Gets or sets the automatic crop mode.

AutoDetectPageSize

Gets or sets the page size automatic detection feature for the scanner's feeder.

Brightness

Gets or sets the current brightness level for capturing image data from the scanner's feeder. 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.

CanAutoDetectPageSize

Returns True if the device can automatically detect at scan time the size of the document pages scanned through the feeder; otherwise returns False.

CanScanAhead

Gets whether the scanner device is capable of scanning ahead from its feeder.

CanScanDuplex

Gets whether the scanner's feeder is capable of duplex scanning (scanning both document page sides, front and back). When scanning in duplex mode the same scan settings (such as color mode and scan resolution) are applied to scan both page sides.

ColorMode

Gets or sets the color mode for the scanner's feeder.

Contrast

Sets or gets the current contrast level for capturing image data from the scanner's feeder. 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 feeder.

DefaultColorMode

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

DefaultContrast

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

DefaultFormat

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

DesiredResolution

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

Duplex

Indicates whether the scanner's feeder can scan both document page sides.

Format

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

MaxBrightness

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

MaxContrast

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

MaxNumberOfPages

Gets or sets the maximum number of pages-not images, the app can scan in one scan job, before the scanner stops.

MaxResolution

Gets the maximum horizontal and vertical scan resolution of the scanner's feeder 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 feeder to scan it.

MinBrightness

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

MinContrast

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

MinResolution

Gets the minimum horizontal and vertical scan resolution of the scanner's feeder 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 feeder to scan it.

OpticalResolution

Gets the optical horizontal and vertical scan resolution of the scanner's feeder in DPI.

PageOrientation

Gets or sets the currently selected page orientation that tells how to place the documents in the scanner's feeder input tray.

PageSize

Gets or sets the currently selected page size to scan from the feeder.

PageSizeDimensions

Gets the dimensions (width and height) and orientation of the selected page size, in mil units (1/1000").

ScanAhead

Indicates whether or not to scan ahead.

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 feeder supports the specified ImageScannerAutoCroppingMode.

IsColorModeSupported(ImageScannerColorMode)

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

IsFormatSupported(ImageScannerFormat)

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

IsPageSizeSupported(PrintMediaSize, PrintOrientation)

Returns whether the feeder can scan documents in the specified page size and orientation.

Applies to

See also