ImageScannerPreviewResult ImageScannerPreviewResult ImageScannerPreviewResult ImageScannerPreviewResult Class

Represents the result of a preview scan job.

Syntax

Declaration

public sealed class ImageScannerPreviewResultpublic sealed class ImageScannerPreviewResultPublic NotInheritable Class ImageScannerPreviewResultpublic sealed class ImageScannerPreviewResult

Properties summary

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

Gets whether the scan preview was successful.

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 ImageScannerFormatpublic ImageScannerFormat Format { get; }

    Property Value

  • Succeeded
    Succeeded
    Succeeded
    Succeeded

    Gets whether the scan preview was successful.

    public bool Succeeded { get; }public bool Succeeded { get; }Public ReadOnly Property Succeeded As boolpublic bool Succeeded { get; }

    Property Value

    • bool
      bool
      bool
      bool

      True if scan preview was successful; otherwise False.

Device family

Windows Desktop Extension SDK (introduced v10.0.10240.0)

API contract

Windows.Devices.Scanners.ScannerDeviceContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.DualApiPartitionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.ThreadingAttribute

Details

Assembly

Windows.Devices.Scanners.dll