VintaSoft Twain .NET SDK 15.0: Documentation for Web developer
Vintasoft.Twain Namespace / WebTwainCapabilityInfoJS type / WebTwainCapabilityInfoJS Constructor(number,string,WebTwainValueContainerTypeEnumJS,WebTwainValueTypeEnumJS,object,object,WebTwainCapabilitySupportedValuesJS)
Syntax BrowserCompatibility SeeAlso
In This Topic
    WebTwainCapabilityInfoJS Constructor(number,string,WebTwainValueContainerTypeEnumJS,WebTwainValueTypeEnumJS,object,object,WebTwainCapabilitySupportedValuesJS)
    In This Topic
    Initializes a new instance of the WebTwainCapabilityInfoJS class.
    Syntax
    // Parameters
    var id; // Type: number
    var name; // Type: string
    var containerType; // Type: WebTwainValueContainerTypeEnumJS
    var valueType; // Type: WebTwainValueTypeEnumJS
    var currentValue; // Type: object
    var defaultValue; // Type: object
    var supportedValues; // Type: WebTwainCapabilitySupportedValuesJS
    
    var instance = new Vintasoft.Twain.WebTwainCapabilityInfoJS(id, name, containerType, valueType, currentValue, defaultValue, supportedValues);
    
    
    function WebTwainCapabilityInfoJS(
    id
    Identifier of device capability.
    : number,
    name
    Name of device capability.
    : string,
    containerType
    Instance of WebTwainValueContainerTypeEnumJS class that represents the container type of device capability value.
    : WebTwainValueContainerTypeEnumJS,
    valueType
    Instance of WebTwainValueTypeEnumJS class that represents the type of device capability value.
    : WebTwainValueTypeEnumJS,
    currentValue
    The current value of device capability.
    : object,
    defaultValue
    The default value of device capability.
    : object,
    supportedValues : WebTwainCapabilitySupportedValuesJS
    ) : WebTwainCapabilityInfoJS;

    Parameters

    id
    Identifier of device capability.
    name
    Name of device capability.
    containerType
    Instance of WebTwainValueContainerTypeEnumJS class that represents the container type of device capability value.
    valueType
    Instance of WebTwainValueTypeEnumJS class that represents the type of device capability value.
    currentValue
    The current value of device capability.
    defaultValue
    The default value of device capability.
    supportedValues
    An instance of WebTwainCapabilitySupportedValuesJS class.
    Browser Compatibility
    9
    See Also