IImageScannerSourceConfiguration.DesiredResolution Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the horizontal and vertical scan resolution for the scan source that the app requests, in DPI.
public:
property ImageScannerResolution DesiredResolution { ImageScannerResolution get(); void set(ImageScannerResolution value); };
ImageScannerResolution DesiredResolution();
void DesiredResolution(ImageScannerResolution value);
public ImageScannerResolution DesiredResolution { get; set; }
var imageScannerResolution = iImageScannerSourceConfiguration.desiredResolution;
iImageScannerSourceConfiguration.desiredResolution = imageScannerResolution;
Public Property DesiredResolution As ImageScannerResolution
Property Value
The horizontal and vertical resolution, in pixels.
Remarks
This property value can be MinResolution, MaxResolution, or OpticalResolution. But, if your app sets this value to other resolutions, this property will choose the closest resolution values. See ActualResolution property.