How to hide the image viewer of Dynamic Web TWAIN object?

For the HTML5 edition of Dynamic Web TWAIN (works for IE10/11, Chrome and Firefox), the image viewer can be hidden in one of the following ways:

  • Use the following code
<div id="dwtcontrolContainer"  style="display:none">
  • Or add the following code in dynamsoft.webtwain.config.js.
Dynamsoft.WebTwainEnv.ScanDirectly = true;


Is this page helpful?