Click or drag to resize

ClwDimExDimmerUISettingsGetPresetDefaultLevel Method

Read the default level of the corresponding preset. Use PercentToUshort(Single) to convert the percentage to a ushort value or UshortToPercent(UInt16) to convert the ushort value to percentage

Namespace: Crestron.SimplSharpPro.Lighting
Assembly: Crestron.SimplSharpPro.Lighting (in Crestron.SimplSharpPro.Lighting.dll) Version: 2.21.121
Syntax
C#
public ushort GetPresetDefaultLevel(
	int paramPresetToGet
)

Parameters

paramPresetToGet  Int32
Preset to query for it's current default setting.

Return Value

UInt16
The current value of the preset
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionInvalid parameter specified

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also