VintaSoft Twain .NET SDK v10.2
Vintasoft.Twain Namespace / DeviceManager Class / OpenedDevice Property




In This Topic
    OpenedDevice Property (DeviceManager)
    In This Topic
    Gets the device opened in device manager.
    Syntax
    'Declaration
     
    <ReadOnlyAttribute(True)>
    <BrowsableAttribute(False)>
    Public ReadOnly Property OpenedDevice As Device
    'Usage
     
    Dim instance As DeviceManager
    Dim value As Device
     
    value = instance.OpenedDevice
    [ReadOnly(true)]
    [Browsable(false)]
    public Device OpenedDevice {get;}
    [ReadOnly(true)]
    [Browsable(false)]
    public: __property Device* get_OpenedDevice();
    [ReadOnly(true)]
    [Browsable(false)]
    public:
    property Device^ OpenedDevice {
       Device^ get();
    }

    Property Value

    Device opened in device manager; null if there is no device opened in device manager.
    Exceptions
    ExceptionDescription
    Thrown if device manager is not open.
    Thrown if object is disposed.
    Remarks
    Only one device can be opened in device manager at one moment. Create several instances of DeviceManager class if several devices must be opened at one moment.
    Requirements

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

    See Also