ImageScannerAutoConfiguration 类

定义

表示扫描程序的自动配置的扫描源。

public ref class ImageScannerAutoConfiguration sealed : IImageScannerFormatConfiguration
/// [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 ImageScannerAutoConfiguration final : IImageScannerFormatConfiguration
[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 ImageScannerAutoConfiguration : IImageScannerFormatConfiguration
Public NotInheritable Class ImageScannerAutoConfiguration
Implements IImageScannerFormatConfiguration
继承
Object Platform::Object IInspectable ImageScannerAutoConfiguration
属性
实现

Windows 要求

设备系列
Windows Desktop Extension SDK (在 10.0.10240.0 中引入)
API contract
Windows.Devices.Scanners.ScannerDeviceContract (在 v1.0 中引入)

属性

DefaultFormat

新扫描会话开始时扫描源的默认文件格式。

Format

获取或设置从设备到客户端应用的图像数据获取的当前文件传输格式。

方法

IsFormatSupported(ImageScannerFormat)

确定输入扫描程序是否支持指定的文件格式。

适用于

另请参阅