ClwDimExDimmerUISettingsSetPresetDefaultLevel Method |
Sets the default level of the corresponding preset. This level will be active at startup and whenever the reset function is triggered.
If the preset has already been reprogrammed, then the programmed value is retained until the value is reset.
Select 0% to use the factory-default level.
Select a non-zero value to specify a new default preset level.
Default Values are Zero for all of the presets;
Use
PercentToUshort(Single) to convert
the percentage to a ushort value or
UshortToPercent(UInt16) to convert
the ushort value to percentage.
Namespace: Crestron.SimplSharpPro.LightingAssembly: Crestron.SimplSharpPro.Lighting (in Crestron.SimplSharpPro.Lighting.dll) Version: 2.21.121
Syntaxpublic void SetPresetDefaultLevel(
int paramPresetToSet,
uint paramValue
)
Parameters
- paramPresetToSet Int32
- Number of the present to set, one based.
- paramValue UInt32
- the default level of the corresponding preset. This level will be active at startup and whenever the reset function is triggered. Valid values from 0 -> 100.
ExceptionsVersion Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also