Scanning
Collapse the table of content
Expand the table of content
Language: HTML | XAML

Scanning (HTML)

Learn how to scan content from your Windows Store app using JavaScript, by using a flatbed, feeder, or auto-configured scan source.

These topics assume that you already know how to write programs with JavaScript and HTML, and that you are familiar with the Windows Image Acquisition (WIA) APIs. You must also have a scanner device installed on your computer.

Overview

To add the ability to scan from your Windows Store app in Windows 8.1, use the Windows.Devices.Scanners namespace. This namespace is built on top of the existing WIA APIs and is integrated with the Device Access API.

Windows Store app scanning

To scan from your Windows Store app you must first list the available scanners by declaring a new DeviceInformation object and getting the DeviceClass type. Only scanners that are installed locally with WIA drivers are listed and available to your Windows Store app.

After your app has listed available scanners, it can use the auto-configured scan settings based on the scanner type, or just scan using the available flatbed or feeder scan source. Certain features are available only to certain scanners. To use auto-configured settings, the scanner must be enabled for auto-configuration, and must not be equipped with both a flatbed and a feeder scanner. For more info, see Auto-Configured Scanning.

 

 

Show:
© 2017 Microsoft