C# 클래스 NAPS2.Scan.Wia.WiaApi

파일 보기 프로젝트 열기: cyanfish/naps2 1 사용 예제들

공개 메소드들

메소드 설명
Configure ( Device device, System.Item item, ScanProfile profile ) : void
DeviceFeederReady ( Device device ) : bool
DeviceSupportsDuplex ( Device device ) : bool
DeviceSupportsFeeder ( Device device ) : bool
GetDevice ( ScanDevice scanDevice ) : Device
GetDeviceName ( Device device ) : string
GetDeviceName ( string deviceID ) : string
GetItem ( Device device, ScanProfile profile ) : System.Item
GetScanDeviceList ( ) : List
PromptForScanDevice ( ) : ScanDevice
ThrowDeviceError ( COMException e ) : void
ThrowDeviceError ( Exception error ) : void

비공개 메소드들

메소드 설명
ConfigureDeviceProperties ( Device device, ScanProfile profile ) : void
ConfigureItemProperties ( Device device, System.Item item, ScanProfile profile ) : void
GetDeviceIntProperty ( Device device, int propid ) : int
GetDeviceProperty ( Device device, int propid ) : string
GetItemIntPropertyMax ( System.Item item, int propid ) : int
SetDeviceIntProperty ( Device device, int value, int propid ) : void
SetItemIntProperty ( System.Item item, int value, int propid ) : void
SetItemIntProperty ( System.Item item, int value, int expectedMin, int expectedMax, int propid ) : void

메소드 상세

Configure() 공개 정적인 메소드

public static Configure ( Device device, System.Item item, ScanProfile profile ) : void
device Device
item System.Item
profile ScanProfile
리턴 void

DeviceFeederReady() 공개 정적인 메소드

public static DeviceFeederReady ( Device device ) : bool
device Device
리턴 bool

DeviceSupportsDuplex() 공개 정적인 메소드

public static DeviceSupportsDuplex ( Device device ) : bool
device Device
리턴 bool

DeviceSupportsFeeder() 공개 정적인 메소드

public static DeviceSupportsFeeder ( Device device ) : bool
device Device
리턴 bool

GetDevice() 공개 정적인 메소드

public static GetDevice ( ScanDevice scanDevice ) : Device
scanDevice ScanDevice
리턴 Device

GetDeviceName() 공개 정적인 메소드

public static GetDeviceName ( Device device ) : string
device Device
리턴 string

GetDeviceName() 공개 정적인 메소드

public static GetDeviceName ( string deviceID ) : string
deviceID string
리턴 string

GetItem() 공개 정적인 메소드

public static GetItem ( Device device, ScanProfile profile ) : System.Item
device Device
profile ScanProfile
리턴 System.Item

GetScanDeviceList() 공개 정적인 메소드

public static GetScanDeviceList ( ) : List
리턴 List

PromptForScanDevice() 공개 정적인 메소드

public static PromptForScanDevice ( ) : ScanDevice
리턴 ScanDevice

ThrowDeviceError() 공개 정적인 메소드

public static ThrowDeviceError ( COMException e ) : void
e System.Runtime.InteropServices.COMException
리턴 void

ThrowDeviceError() 공개 정적인 메소드

public static ThrowDeviceError ( Exception error ) : void
error System.Exception
리턴 void