var instance = new Vintasoft.Twain.WebTwainDeviceJS(deviceName, productFamily, manufacturer, driverVersion, twainVersion, deviceManager, is64Bit); var value; // Type: Vintasoft.Twain.WebTwainCapabilityInfoJS // Parameters var twainCapabilityId; // Type: WebDeviceCapabilityIdEnumJS var twainCapabilityValue; // Type: string value = instance.setCapability(twainCapabilityId, twainCapabilityValue);
function setCapability(
twainCapabilityIdAn identifier of TWAIN device capability as an instance of WebDeviceCapabilityIdEnumJS class.: WebDeviceCapabilityIdEnumJS,
twainCapabilityValueA string that represents value that should be set to the TWAIN device capability.: string
) : WebTwainCapabilityInfoJS;
Parameters
- twainCapabilityId
- An identifier of TWAIN device capability as an instance of WebDeviceCapabilityIdEnumJS class.
- twainCapabilityValue
- A string that represents value that should be set to the TWAIN device capability.
Return Value
An instance of WebTwainCapabilityInfoJS class.