VintaSoft Twain .NET SDK v10.2
Vintasoft.Twain Namespace / Device Class / ScanFailed Event

In This Topic
    ScanFailed Event (Device)
    In This Topic
    Occurs when scan process is failed.
    Public Event ScanFailed As EventHandler(Of ScanFailedEventArgs)
    Dim instance As Device
    Dim handler As EventHandler(Of ScanFailedEventArgs)
    AddHandler instance.ScanFailed, handler
    public event EventHandler<ScanFailedEventArgs> ScanFailed
    public: __event EventHandler<ScanFailedEventArgs*>* ScanFailed
    event EventHandler<ScanFailedEventArgs^>^ ScanFailed
    Event Data

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

    Gets the error code of error occured at the acquisition process.  
    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