VintaSoft Twain .NET SDK v10.3
Vintasoft.Twain Namespace / Device Class / WorkWithCapabilitiesDirectly Property




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
    'Usage
     
    Dim instance As Device
    Dim value As Boolean
     
    instance.WorkWithCapabilitiesDirectly = value
     
    value = instance.WorkWithCapabilitiesDirectly
    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: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also