简体   繁体   English

吐温扫描仪部分扫描

[英]twain scanner partially scan

I use twain 2.1 for connecting to scanner. 我使用twain 2.1连接扫描仪。 How can I set scanner to scan just part of a page without displaying preview page of scanner. 如何设置扫描仪仅扫描页面的一部分而不显示扫描仪的预览页。 I used source.setRegionOfInterest method, but it doesn't finish scanning and scanner can not be used until it restarted. 我使用了source.setRegionOfInterest方法,但是它没有完成扫描,并且在重新启动之前无法使用扫描仪。

The area of an image to be acquired will always be a rectangle called a frame. 要获取的图像区域将始终是称为框架的矩形。 There may be one or more frames located on a page. 页面上可能有一个或多个框架。 The TW_FRAME structure specifies the values for the Left, Right, Top, and Bottom of the frame to be acquired. TW_FRAME结构指定要获取的帧的Left,Right,Top和Bottom的值。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM