OnPreAllTransfers

Description

This event is triggered when all images are scanned and ready to be transferred.

Syntax

.RegisterEvent('OnPreAllTransfers',function(){...});

Remarks

Multiple transfers may occur when ADF(Auto Document Feeder) is enabled or there are more than one frames in a page. In those cases, OnPreTransfer is triggered multiple times but OnPreAllTransfers is triggerred just once.

This is the place to call CancelAllPendingTransfers().

See Also

OnPreTransfer
OnPostTransfer
OnPostAllTransfers

Example

DWObject.RegisterEvent('OnPreAllTransfers', function(){
    DWObject.CancelAllPendingTransfers();
});