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);
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
See Also