Dynamic Web TWAIN  - TWAIN ActiveX/Plug-in, Scanner COM Control
TWAIN ActiveX/Plug-in HTTP Control/SDK

OnPreAllTransfers

Description

Fired before all the transfers begin.

Syntax

Object_OnPreAllTransfers()

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, more than one OnPreTransfer Event will be fired, and only one OnPreAllTransfers Event will be fired.

This is the place to call CancelAllPendingTransfers().

See Also

OnPreTransfer Event, OnPostAllTransfers Event, OnPostTransfer Event, OnTransferCancelled Event, OnTransferError Event.

Sample

A JavaScript sample is provided.

<script language="javascript">

function OnPreAllTransfersFunction() {
  //add your code here. This code snippet will be executed before all images are scanned.
}

</script>

<script language=javascript for=DynamicWebTwain1 event=OnPreAllTransfers>
 
   OnPreAllTransfersFunction();
 
</script>


 

 

 

 













TWAIN ActiveX | TWAIN Plug-in | TWAIN Control | TWAIN SDK | Scanner COM
Software Configuration Management | Version Control | Source Control
Copyright © 2011 Dynamsoft Corporation. All Rights Reserved.