VintaSoft Twain .NET SDK v10.3
Vintasoft.WpfTwain Namespace / Device Class / ImageAcquired Event

In This Topic
    ImageAcquired Event (Device)
    In This Topic
    Occurs when image is acquired from device.
    Public Event ImageAcquired As EventHandler(Of ImageAcquiredEventArgs)
    Dim instance As Device
    Dim handler As EventHandler(Of ImageAcquiredEventArgs)
    AddHandler instance.ImageAcquired, handler
    public event EventHandler<ImageAcquiredEventArgs> ImageAcquired
    public: __event EventHandler<ImageAcquiredEventArgs*>* ImageAcquired
    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.

    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.  
    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:
    Please see example here.

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

    See Also