As we introduced in the previous section Three ways to use Dynamic Web TWAIN, You can control Dynamic Web TWAIN objects in three ways: Properties, Methods and Events. The complete list of all built-in properties, methods and events of Dynamic Web TWAIN is available in our online API Documentation for your reference. Here we will introduce Dynamic Web TWAIN’s functionality in more details: Before you start an actual scan session, you can choose how you want your documents to be scanned. Normally, you can change all of the settings in the scanner’s built-in User Interface.
Before you start an actual scan session, you can choose how you want your documents to be scanned. Normally, you can change all of the settings in the scanner’s built-in User Interface. Take the Virtual scanner for example:
DWObject.SelectSource(); /* You should customize the settings after opening a source */ DWObject.OpenSource(); /* Hide the User Interface of the scanner */ DWObject.IfShowUI = false; /* Use the document feeder to scan in batches */ DWObject.IfFeederEnabled = true; /* Scan in Simplex mode (only 1 side of the page) */ DWObject.IfDuplexEnabled = false; /* Scan pages in GRAY */ DWObject.PixelType = EnumDWT_PixelType.TWPT_GRAY; /* Scan pages in 200 DPI */ DWObject.Resolution = 200; /* Start scanning */ DWObject.AcquireImage();