DeviceParameterDescriptor.range Property

Module: DeviceParameterDescriptor

Type: DeviceParameterRange

Definition

Defines the allowable range of values for the parameter when its type is an integer

This is crucial for ensuring that parameter values are within acceptable limits for the device’s operation.

range: DeviceParameterRange

Exceptions

An error has occurred during Devices Library execution.
DeviceParameterRange get range => getRange();
set range(DeviceParameterRange value) => setRange(value);

Exceptions

An error has occurred during Devices Library execution.
public DeviceParameterRange range
{
    get => Getrange();
    set => Setrange(ref value);
}

Exceptions

An error has occurred during Devices Library execution.
public DeviceParameterRange getRange() throws DevicesException
public void setRange(DeviceParameterRange range) throws DevicesException

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesDeviceParameterDescriptor_GetRange (ID3_DEVICES_DEVICE_PARAMETER_DESCRIPTOR hDeviceParameterDescriptor, id3DevicesDeviceParameterRange * sRange)
int id3DevicesDeviceParameterDescriptor_SetRange (ID3_DEVICES_DEVICE_PARAMETER_DESCRIPTOR hDeviceParameterDescriptor, const id3DevicesDeviceParameterRange * sRange)

Returns

int
An error code.
See id3DevicesError file for the list of possible error codes.