Skip to content

Commit 648e437

Browse files
authored
Update input.md
1 parent 20eb984 commit 648e437

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

indepth/features/input.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,13 @@ Many modern scanners and multi-functional printers (MFPs) support the eSCL proto
3131

3232
The following code shows how one way to acquire the image via the eSCL protocol.
3333
``` javascript
34+
//Get the list of available eSCL scanners
3435
let esclDeviceList=await DWObject.GetDevicesAsync(Dynamsoft.DWT.EnumDWT_DeviceType.ESCLSCANNER)
36+
37+
//Select the desired scanner from the list
3538
await DWObject.SelectDeviceAsync(esclDeviceList[0])
39+
40+
//Acquire image (with configuration)
3641
await DWObject.AcquireImageAsync({Resolution:100,IfShowUI:false})
3742
```
3843

0 commit comments

Comments
 (0)