C# Class rbscan.Providers.WIAScanner

Mostrar archivo Open project: rbobot/rbscan

Public Methods

Method Description
GetDevices ( ) : string>.IDictionary

Gets the list of available WIA devices.

Scan ( string scannerId, int dpi, int color, int brightness, int contrast ) : List

Use scanner to scan an image (scanner is selected by its unique id).

Private Methods

Method Description
ConnectDevice ( string scannerId ) : WIA.Device
GetDeviceProperty ( WIA device, string propertyId ) : int

Method Details

GetDevices() public static method

Gets the list of available WIA devices.
public static GetDevices ( ) : string>.IDictionary
return string>.IDictionary

Scan() public static method

Use scanner to scan an image (scanner is selected by its unique id).
public static Scan ( string scannerId, int dpi, int color, int brightness, int contrast ) : List
scannerId string
dpi int
color int
brightness int
contrast int
return List