Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用 WIA 通过扫描仪获取图像。一些用户报告该方法抛出的参数异常
img = dialog.ShowTransfer(_device.Items(1), WIA.FormatID.wiaFormatTIFF, False)
我无法使用我的扫描仪在我的计算机上重现异常,而且我找不到任何关于此问题的文档。为什么会引发异常?
我在调用该方法之前在代码中修改了一些设备属性(如亮度和分辨率),但过程中没有报错。
有人遇到过这个问题吗?你会怎么解决?