OnPreTransfer

Description

This event is triggered when a page has been scanned and ready to be transferred.

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

Remarks

This is where to check PendingXFERs, ImageLayoutDocumentNumber, ImageLayoutFrameLeft, ImageLayoutFrameTop, ImageLayoutFrameRight, ImageLayoutFrameBottom, ImageLayoutPageNumber, ImageLayoutFrameNumber.

This is also the place to call CancelAllPendingTransfers().

See Also

OnPreAllTransfers
OnPostTransfer
OnPostAllTransfers

Example

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