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




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