Share via


ImageScannerPreviewResult Class

Definition

Represents the result of a preview scan job.

public ref class ImageScannerPreviewResult sealed
/// [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 ImageScannerPreviewResult final
[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 ImageScannerPreviewResult
Public NotInheritable Class ImageScannerPreviewResult
Inheritance
Object Platform::Object IInspectable ImageScannerPreviewResult
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.Devices.Scanners.ScannerDeviceContract (introduced in v1.0)

Properties

Format

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

Succeeded

Gets whether the scan preview was successful.

Applies to