VintaSoft Twain .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Twain Namespace / Device Class / WorkWithCapabilitiesDirectly Property
Syntax Remarks Requirements SeeAlso
In This Topic
    WorkWithCapabilitiesDirectly Property (Device)
    In This Topic
    Gets or sets a value indicating whether the device will try to get/set the capability value only if capability is present in device capability list (Capabilities).
    Syntax
    'Declaration
    
    Public Property WorkWithCapabilitiesDirectly As Boolean
    
    
    public bool WorkWithCapabilitiesDirectly { get; set; }
    
    
    public: __property bool get_WorkWithCapabilitiesDirectly();
    public: __property void set_WorkWithCapabilitiesDirectly(
    bool value
    );
    public:
    property bool WorkWithCapabilitiesDirectly { bool get(); void set(bool value); }

    Property Value

    true - device will try to get/set the capability value only if capability is present in device capability list (Capabilities);
    false - device will always try to get/set the capability value.
    Default value is false.
    Remarks

    Set value of this property to true only if you have "bad" device, i.e. device returns not correct list of device capabilities.

    Set value of this property before calling the Open method.

    Requirements

    Target Platforms: .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also