VintaSoft Twain .NET SDK v10.2
SetValue(UInt32) Method




Vintasoft.Twain Namespace > DeviceCapability Class > SetValue Method : SetValue(UInt32) Method
New current value of device capability.
Sets the current value of device capability.
Syntax
'Declaration
 
Public Overloads Sub SetValue( _
   ByVal value As UInteger _
) 
'Usage
 
Dim instance As DeviceCapability
Dim value As UInteger
 
instance.SetValue(value)
public void SetValue( 
   uint value
)
public: void SetValue( 
   uint value
) 
public:
void SetValue( 
   uint 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

Reference

DeviceCapability Class
DeviceCapability Members
Overload List