BrightnessOverrideSettings.CreateFromLevel(Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a BrightnessOverrideSettings object with the specified brightness level.
public:
static BrightnessOverrideSettings ^ CreateFromLevel(double level);
static BrightnessOverrideSettings CreateFromLevel(double const& level);
public static BrightnessOverrideSettings CreateFromLevel(double level);
function createFromLevel(level)
Public Shared Function CreateFromLevel (level As Double) As BrightnessOverrideSettings
Parameters
- level
-
Double
double
The brightness level to use to create the override settings. The brightness level is a value ranging from [0.0, 1.0], where 0.0 corresponds to 0% brightness and 1.0 corresponds to 100% brightness.
Returns
The override settings.