VintaSoftTwain Control v6.0
VintaSoftTwain Object / Device_Cap_Set Method
In This Topic
    Device_Cap_Set Method
    In This Topic
    Description
    Sets device capability.
    Syntax
    Visual Basic
    Public Function Device_Cap_Set() As Boolean
    Return Type
    TRUE (1) if method is executed successfully, FALSE (0) otherwise.
    Remarks

    Before executing this method set:
    1. Capability identifier (Device_Cap_Id property)
    2. Capability value container type (Device_Cap_ValueContainerType property)
    3. Capability value type (Device_Cap_ValueType property)
    3. Properties necessary for capability value container:

    Value container type Capabilities
    One value Device_Cap_Value if value is numeric value;
    Device_Cap_StringValue if value is string value;
    Device_Cap_FrameValue if value is frame value
    Array Device_Cap_Items if values are numeric values;
    Device_Cap_StringItems if value is string value;
    Device_Cap_FrameItems if value is frame value
    Enum Device_Cap_Items if values are numeric values;
    Device_Cap_StringItems if value is string value;
    Device_Cap_FrameItems if value is frame value
    Range Device_Cap_Value if value is numeric value


    Information about error that occurs during method execution can be get using the Error and ErrorString properties.
    See Also