VintaSoft Twain .NET SDK 15.0: Documentation for .NET developer
Vintasoft.Twain Namespace / DeviceAsyncEventArgs Class / DeviceAsyncEventArgs Constructors / DeviceAsyncEventArgs Constructor(String,Resolution)
Syntax Requirements SeeAlso
In This Topic
    DeviceAsyncEventArgs Constructor(String,Resolution)
    In This Topic
    Initializes a new instance of the DeviceAsyncEventArgs class.
    Syntax
    'Declaration
    
    Public Function New( _
    ByVal deviceName
    The name of the device that generated the event.
    As String, _
    ByVal resolution
    The current resolution.
    As Resolution _
    )
    public DeviceAsyncEventArgs(
    string deviceName,
    Resolution resolution
    )
    public: DeviceAsyncEventArgs(
    string* deviceName,
    Resolution* resolution
    )
    public:
    DeviceAsyncEventArgs(
    string^ deviceName,
    Resolution^ resolution
    )

    Parameters

    deviceName
    The name of the device that generated the event.
    resolution
    The current resolution.
    Requirements

    Target Platforms: .NET 8, .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also