ImageScannerPreviewResult ImageScannerPreviewResult ImageScannerPreviewResult ImageScannerPreviewResult Class

Definition

Represents the result of a preview scan job.

public : sealed class ImageScannerPreviewResult : IImageScannerPreviewResult
public sealed class ImageScannerPreviewResult : IImageScannerPreviewResult
Public NotInheritable Class ImageScannerPreviewResult Implements IImageScannerPreviewResult
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows Desktop Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Devices.Scanners.ScannerDeviceContract (introduced v1)

Properties

Format Format Format Format

Gets the format of the data for the scan preview. After preview this property is restored to the value before preview.

public : ImageScannerFormat Format { get; }
public ImageScannerFormat Format { get; }
Public ReadOnly Property Format As ImageScannerFormat
var imageScannerFormat = imageScannerPreviewResult.format;

Succeeded Succeeded Succeeded Succeeded

Gets whether the scan preview was successful.

public : Platform::Boolean Succeeded { get; }
public bool Succeeded { get; }
Public ReadOnly Property Succeeded As bool
var bool = imageScannerPreviewResult.succeeded;
Value
Platform::Boolean bool bool bool

True if scan preview was successful; otherwise False.