For ADF scanner, thrugh the following code we come to know whether the documents are loaded or not.
And FeederPresent property determines if the device has automatic document feeder.
If VSTwain1.FeederPresent Then
VSTwain1.FeederEnabled = true
VSTwain1.AutoFeed = true
VSTwain1.XferCount = -1
If VSTwain1.FeederLoaded Then
VSTwain1.Acquire()
Endif
Endif
But suppose, if I haven't put any document into the FLATBED scanner, does above code will work?
Please specify a code for FLATBED scanner.
Thanks,Umesh
Re: Detect document put into the FLATBED scanner...