VintaSoft Twain .NET SDK v10.2
Vintasoft.WpfTwain Namespace / DeviceCapability Class / GetUsageMode Method




In This Topic
    GetUsageMode Method (DeviceCapability)
    In This Topic
    Gets the usage modes of device capability.
    Syntax
    'Declaration
     
    Public Function GetUsageMode() As DeviceCapabilityUsageMode
    'Usage
     
    Dim instance As DeviceCapability
    Dim value As DeviceCapabilityUsageMode
     
    value = instance.GetUsageMode()
    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.
    Requirements

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

    See Also