ImageScannerScanResult
ImageScannerScanResult
ImageScannerScanResult
ImageScannerScanResult
Class
Definition
Represents the result of a scan job.
public : sealed class ImageScannerScanResult : IImageScannerScanResultpublic sealed class ImageScannerScanResult : IImageScannerScanResultPublic NotInheritable Class ImageScannerScanResult Implements IImageScannerScanResult// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows Desktop Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.Devices.Scanners.ScannerDeviceContract (introduced v1)
|
Properties
ScannedFiles ScannedFiles ScannedFiles ScannedFiles
Gets the list of scanned image files that was produced by the completed scan job.
public : IVectorView<StorageFile> ScannedFiles { get; }public IReadOnlyList<StorageFile> ScannedFiles { get; }Public ReadOnly Property ScannedFiles As IReadOnlyList<StorageFile>// You can use this property in JavaScript.
- Value
- IVectorView<StorageFile> IReadOnlyList<StorageFile> IReadOnlyList<StorageFile> IReadOnlyList<StorageFile>
A list of scanned image files from the completed scan job. If there is no scanned file, the IVectorView;.Size property will be 0.
Remarks
When nothing is scanned, the IVectorView<T>.Size property will be set to 0. The app should check the size to make sure there are actual files before attempting to access the files.