ش | ی | د | س | چ | پ | ج |
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
متد (Device.ExecuteCommand(CommandID
برای گرفتن عکس توسط دوربین اول انتخاب Device با متد ShowSelectDevice و بعد ارسال کامند به آن دستگاه
: CommandID
wiaCommandTakePicture
ppResult = .ShowSelectDevice( _
[ ByVal DeviceType As WiaDeviceType ], _
[ ByVal AlwaysSelectDevice As VARIANT_BOOL ], _
[ ByVal CancelError As VARIANT_BOOL ] _
) As HRESULT
Boolean منظور استفاده از True یا False
: WiaDeviceType UnspecifiedDeviceType 0 ScannerDeviceType 1 CameraDeviceType 2 VideoDeviceType 3