Table of Contents

Class PerSourceCaps

Namespace
NAPS2.Scan
Assembly
NAPS2.Sdk.dll

Represents capabilities specific to a single PaperSource as part of ScanCaps.

public class PerSourceCaps
Inheritance
PerSourceCaps

Properties

BitDepthCaps

Valid values for ScanOptions.BitDepth.

public BitDepthCaps? BitDepthCaps { get; init; }

Property Value

BitDepthCaps

DpiCaps

Valid values for ScanOptions.Dpi.

public DpiCaps? DpiCaps { get; init; }

Property Value

DpiCaps

PageSizeCaps

Valid values for ScanOptions.PageSize.

public PageSizeCaps? PageSizeCaps { get; init; }

Property Value

PageSizeCaps

Methods

UnionAll(IEnumerable<PerSourceCaps>)

Gets an object representing the union of all possible option values allowed by the provided objects. This can be helpful when presenting the user with a single set of possible options for multiple sources.

public static PerSourceCaps UnionAll(IEnumerable<PerSourceCaps> caps)

Parameters

caps IEnumerable<PerSourceCaps>

Returns

PerSourceCaps