VintaSoft Twain .NET SDK v11.0 for .NET
Vintasoft.Twain Namespace / DeviceManager Class / OpenedDeviceChanged Event




In This Topic
    OpenedDeviceChanged Event (DeviceManager)
    In This Topic
    Occurs when the opened device is changed.
    Syntax
    'Declaration
     
    Public Event OpenedDeviceChanged As EventHandler(Of OpenedDeviceChangedEventArgs)
    'Usage
     
    Dim instance As DeviceManager
    Dim handler As EventHandler(Of OpenedDeviceChangedEventArgs)
     
    AddHandler instance.OpenedDeviceChanged, handler
    public event EventHandler<OpenedDeviceChangedEventArgs> OpenedDeviceChanged
    public: __event EventHandler<OpenedDeviceChangedEventArgs*>* OpenedDeviceChanged
    public:
    event EventHandler<OpenedDeviceChangedEventArgs^>^ OpenedDeviceChanged
    Event Data

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

    PropertyDescription
    Gets the opened device.  
    Requirements

    Target Platforms: .NET 5.0 Preview 7; .NET Core 3.1; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also