Parameters
- value
- A value indicating whether the lamp of device is on.
| Exception | Description |
|---|---|
| Thrown if device is not opened OR error occurs during setting value of device capability. |
This property sends a synchronous request to set value of WebTwainDeviceCapabilityIdEnumJS.ILampState capability. If you want to use asynchronous request instead of synchronous request, please set value of WebTwainDeviceCapabilityIdEnumJS.ILampState capability using WebTwainDeviceJS.setCapabilityAsync or WebTwainDeviceJS.setCapabilitiesAsync function.