Share via


BrightnessOverrideSettings.CreateFromLevel(Double) Method

Definition

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.

Applies to