VintaSoft Twain .NET SDK v10.2
Vintasoft.Twain Namespace / DeviceCapability Class / SetValue Method / SetValue(UInt16) Method
New current value of device capability.




In This Topic
    SetValue(UInt16) Method
    In This Topic
    Sets the current value of device capability.
    Syntax
    'Declaration
     
    Public Overloads Sub SetValue( _
       ByVal value As UShort _
    ) 
    'Usage
     
    Dim instance As DeviceCapability
    Dim value As UShort
     
    instance.SetValue(value)
    public void SetValue( 
       ushort value
    )
    public: void SetValue( 
       ushort value
    ) 
    public:
    void SetValue( 
       ushort value
    ) 

    Parameters

    value
    New current value of device capability.
    Exceptions
    ExceptionDescription
    Thrown if device is in wrong state.
    Thrown if error occurs during setting value of capability.
    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