ImageScannerPreviewResult ImageScannerPreviewResult ImageScannerPreviewResult ImageScannerPreviewResult ImageScannerPreviewResult Class


Represents the result of a preview scan job.

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


Format 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; }
ImageScannerFormat Format();
public ImageScannerFormat Format { get; }
Public ReadOnly Property Format As ImageScannerFormat
var imageScannerFormat = imageScannerPreviewResult.format;

Succeeded Succeeded Succeeded Succeeded Succeeded

Gets whether the scan preview was successful.

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

True if scan preview was successful; otherwise False.