VintaSoft Twain .NET SDK 15.0: Documentation for .NET developer
Vintasoft.Twain Namespace / DeviceCapability Class / GetUsageMode() Method
Syntax Exceptions Example Requirements SeeAlso
In This Topic
    GetUsageMode() Method (DeviceCapability)
    In This Topic
    Gets the usage modes of device capability.
    Syntax
    'Declaration
    
    Public Function GetUsageMode() As DeviceCapabilityUsageMode
    
    
    public DeviceCapabilityUsageMode GetUsageMode()
    
    
    public: DeviceCapabilityUsageMode GetUsageMode()
    
    
    public:
    DeviceCapabilityUsageMode GetUsageMode()

    Return Value

    Usage modes of device capability.
    Exceptions
    ExceptionDescription
    Thrown if device is in wrong state.
    Thrown if error occurs during getting the capability value.
    Thrown if the .NET debugger is used and the function evaluation requires all threads to run.
    Example

    Please see example here: DeviceCapability.

    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