VintaSoft Twain .NET SDK v10.2
ImageAcquired Event (Device)




Vintasoft.WpfTwain Namespace > Device Class : ImageAcquired Event
Occurs when image is acquired from device.
Syntax
'Declaration
 
Public Event ImageAcquired As EventHandler(Of ImageAcquiredEventArgs)
'Usage
 
Dim instance As Device
Dim handler As EventHandler(Of ImageAcquiredEventArgs)
 
AddHandler instance.ImageAcquired, handler
public event EventHandler<ImageAcquiredEventArgs> ImageAcquired
public: __event EventHandler<ImageAcquiredEventArgs*>* ImageAcquired
public:
event EventHandler<ImageAcquiredEventArgs^>^ ImageAcquired
Event Data

The event handler receives an argument of type ImageAcquiredEventArgs containing data related to this event. The following ImageAcquiredEventArgs properties provide information specific to this event.

PropertyDescription
Determines that current acquisition process must be canceled.  
Determines that end of batch job is reached.  
Gets the filename where acquired image is saved.  
Gets the acquired image.  
Gets the number of pending images.  
Remarks
Here is a sequence of events if scan is successfully completed:
Here is a sequence of events if scan is canceled:
Here is a sequence of events if scan is failed:
Example
Please see example here.
Requirements

Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

See Also