VintaSoft Twain .NET SDK 15.1: Documentation for Web developer
Vintasoft.Twain Namespace / WebTwainCapabilityInfoJS type / WebTwainCapabilityInfoJS Constructor(number,string,WebTwainValueContainerTypeEnumJS,WebTwainValueTypeEnumJS,object,object,WebTwainCapabilitySupportedValuesJS)
Syntax BrowserCompatibility SeeAlso
WebTwainCapabilityInfoJS Constructor(number,string,WebTwainValueContainerTypeEnumJS,WebTwainValueTypeEnumJS,object,object,WebTwainCapabilitySupportedValuesJS)
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);

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