Class DpiCaps
Represents valid values for ScanOptions.Dpi as part of PerSourceCaps.
public class DpiCaps
- Inheritance
-
DpiCaps
Properties
CommonValues
Recommended values for ScanOptions.Dpi to be presented to the user.
public ImmutableList<int>? CommonValues { get; }
Property Value
- ImmutableList<int>?
Values
Allowed values for ScanOptions.Dpi.
public ImmutableList<int>? Values { get; init; }
Property Value
- ImmutableList<int>?
Methods
ForRange(int, int, int)
Creates an instance of DpiCaps that allows values in the specified range.
public static DpiCaps ForRange(int min, int max, int step)
Parameters
min
intThe lowest valid DPI value, inclusive.
max
intThe highest valid DPI value, inclusive.
step
intThe increment between valid DPI values (must be >0).