Click or drag to resize

FileTransferEventHandler Delegate

This event handler is used when acquiring images directly to a file.

Namespace:  Atalasoft.Twain
Assembly:  Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public delegate void FileTransferEventHandler(
	Object sender,
	FileTransferEventArgs e
)

Parameters

sender
Type: SystemObject
The Acquisition object which sent the event.
e
Type: Atalasoft.TwainFileTransferEventArgs
A FileTransferEventArgs object containing information about the event.
Remarks
You need to use QueryCapability(DeviceCapability.TransferMechanism) on the device to make sure it can handle File or File2 transfers. You should also use GetSupportedFileFormats to find out which SourceFileFormats the device supports.
See Also