Fired before a transfer begins.
Object_OnPreTransfer()
This is the place to read the properties of image information: ImageBitsPerPixel property, ImagePixelType property, ImageLength property, ImageWidth property, ImageXResolution property, ImageYResolution property, ImageLayoutDocumentNumber property, ImageLayoutFrameLeft property, ImageLayoutFrameTop property, ImageLayoutFrameRight property, ImageLayoutFrameBottom property, ImageLayoutPageNumber property, ImageLayoutFrameNumber property.
This is also the place to call CancelAllPendingTransfers().
OnPreAllTransfers Event, OnPostAllTransfers Event, OnPostTransfer Event, OnTransferCancelled Event, OnTransferError Event.
A JavaScript sample is provided.
| <script language="javascript"> function OnPreTransferFunction() { //add your code here. This code snippet will be executed before each image is scanned. } </script> <script language=javascript for=DynamicWebTwain1 event=OnPreTransfer>
OnPreTransferFunction();
</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.