Dynamic Web TWAIN: How to use ADF

You can use the property IfFeederEnabled to set whether the Source uses the automatic document feeder for the scanning.

Code Snippet

function ADFScan() {
    DWObject.OpenSource(); //you should open the data source before calling the IfFeederEnabled property  
    DWObject.MaxImagesInBuffer = 100; //set the maximum number of images can be held in buffer
    DWObject.IfShowUI = false;
    DWObject.IfFeederEnabled = true;
    DWObject.XferCount = -1;
    DWObject.AcquireImage();
}