VintaSoftTwain Control v6.0
VintaSoftTwain Object / Device_Cap_Get Method
In This Topic
    Device_Cap_Get Method
    In This Topic
    Description
    Returns current value of device capability.
    Syntax
    Visual Basic
    Public Function Device_Cap_Get() As Boolean
    Return Type
    TRUE (1) if method is executed successfully, FALSE (0) otherwise.
    Remarks
    Set the Device_Cap_Id and Device_Cap_ValueContainerType properties before execution of this method.

    After execution of this method it is possible to get capability value(s) using the following properties:
    Value container type Properties
    One value Device_Cap_ValueType, Device_Cap_Value, Device_Cap_StringValue, Device_Cap_FrameValue
    Array Device_Cap_ValueType, Device_Cap_Items_Count, Device_Cap_Items, Device_Cap_StringItems, Device_Cap_FrameItems
    Enum Device_Cap_ValueType, Device_Cap_Items_Count, Device_Cap_Items, Device_Cap_StringItems, Device_Cap_FrameItems
    Range Device_Cap_ValueType, Device_Cap_Value, Device_Cap_DefaultValue, Device_Cap_MinValue, Device_Cap_MaxValue, Device_Cap_StepSize

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