【发布时间】:2011-10-27 23:13:30
【问题描述】:
通过进纸器进行 WIA 扫描
这是我的设备属性:
Document Handling Select = 1 (2 is for flatbed, and 1 is for the feeder.)
这是我的项目(页面)属性:
Horizontal Resolution = 150
Vertical Resolution = 150
Horizontal Extent = 500 (I want to get it first to work, then I'll play with the extents.),
Vertical Extent = 500
Bits Per Pixel = 8
Current Intent = 4
如果我将“文档处理选择”设置为“2”,一切都会顺利进行。当我将它设置为“1”并运行它时,就在我说 item.Transfer()(或 item.Transfer(bmp/jpeg/pngGuid))之前,我得到了异常“值不在预期范围内”。
这太烦人了,有什么价值?我在网上搜索了一下,只能找到一点点信息,但帮助不大。
【问题讨论】:
-
我玩了更多,我发现我可以使用 feeder 的唯一方法是打开公共对话框询问“项目”。对话框中的方法请求设备。它设置设备和项目中的属性。我看了一眼属性,它看起来和我的问题一样。它有效。一定有什么我没看到的……
-
我也遇到了同样的问题。 :-( 我假设必须修改另一个设备属性。