本指南提供有关如何使用Dynamsoft的Dynamic Web TWAIN SDK 16.x版如何自定义扫描设置。
Dynamic Web TWAIN正式版
在开始实际扫描之前,您可以选择想要扫描文档的方式。通常,您可以在扫描仪的内置用户界面中更改所有设置。以虚拟扫描仪为例:

DWObject.SelectSource();DWObject.OpenSource();// You should customize the settings after opening a sourceDWObject.IfShowUI = false;// Hide the User Interface of the scannerDWObject.IfFeederEnabled = true;// Use the document feeder to scan in batchesDWObject.IfDuplexEnabled = false;// Scan in Simplex mode (only 1 side of the page)DWObject.PixelType = EnumDWT_PixelType.TWPT_GRAY; // Scan pages in GRAYDWObject.Resolution = 200; // Scan pages in 200 DPIDWObject.AcquireImage();// Start scanning
从v15.0开始,以上内容可以简化为
DWObject.startScan({ scanner: "name of the scanner to use", ui: { bShowUI: false }, settings: { bFeeder: true, bDuplex: false, pixelType: EnumDWT_PixelType.TWPT_GRAY, resolution: 200 }});
想要购买Dynamic Web TWAIN正版授权,或了解更多产品信息请点击【咨询在线客服】

标签:
声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!