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_ValueTypeDevice_Cap_ValueDevice_Cap_StringValueDevice_Cap_FrameValue
    Array Device_Cap_ValueTypeDevice_Cap_Items_CountDevice_Cap_Items, Device_Cap_StringItemsDevice_Cap_FrameItems
    Enum Device_Cap_ValueTypeDevice_Cap_Items_CountDevice_Cap_Items, Device_Cap_StringItemsDevice_Cap_FrameItems
    Range Device_Cap_ValueTypeDevice_Cap_ValueDevice_Cap_DefaultValue, Device_Cap_MinValueDevice_Cap_MaxValueDevice_Cap_StepSize

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