VintaSoft Twain .NET SDK 14.1: Documentation for .NET developer
Vintasoft.Twain Namespace / DeviceCapability Class / SetValue Methods / SetValue(SByte) Method
Syntax Exceptions Example Requirements SeeAlso
In This Topic
    SetValue(SByte) Method (DeviceCapability)
    In This Topic
    Sets the current value of device capability.
    Syntax
    'Declaration
    
    Public Overloads Sub SetValue( _
    ByVal value
    New current value of device capability.
    As Sbyte _
    )
    public void SetValue(
    sbyte value
    )
    public: void SetValue(
    sbyte value
    )
    public:
    void SetValue(
    sbyte 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: SetValue(Boolean).

    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