Return Value
An array of numeric values, which define supported bit depths.
| Exception | Description |
|---|---|
| Thrown if device is not opened OR error occurs during getting value of device capability. |
This function sends a synchronous request to get supported values of WebTwainDeviceCapabilityIdEnumJS.IBitDepth capability. If you want to use asynchronous request instead of synchronous request, please get information about WebTwainDeviceCapabilityIdEnumJS.IBitDepth capability using WebTwainDeviceJS.getCapabilityAsync function.