TwainController Events |
The TwainController type exposes the following members.
Name | Description | |
---|---|---|
AcquireCanceled | This event will fire if the user has canceled the acquisition. | |
AcquireFinished | This event will fire when all of the images have been acquired. This is useful when a document feeder is
used. | |
BeforeTwainDataTransfer | This event will fire before the data is transferred from the device, allow the transfer to be canceled.
| |
FileTransfer | This event will fire just before acquiring an image directly to file. You must fill in the FileName property of the FileTransferEventArgs object. | |
ImageAcquired | This event will fire for each image acquired. | |
MemoryDataTransfer | This event is raised during a memory transfer to allow developers to handle processing the data instead of
DotTwain. | |
MemoryFileTransfer | This event is raised during a memory file transfer before each image is scanned. Use this event to
indicate the file format for the image and provide a Stream to store the image into. | |
TwainDataTransfer | This event fires after the data has been transferred but before it has been processed by DotTwain.
| |
TwainException | Raised when there is an exception in the TwainController. If this event is not handled,
the exception will be thrown instead. |