編輯

共用方式為


BrightnessContrastEffect.BrightnessLevel Property

Definition

Gets an integer in the range -255 through 255 that specifies the brightness level.

public:
 property int BrightnessLevel { int get(); };
public int BrightnessLevel { get; }
member this.BrightnessLevel : int
Public ReadOnly Property BrightnessLevel As Integer

Property Value

An integer in the range -255 through 255 that specifies the brightness level.

Remarks

If the value is 0, the brightness remains the same. As the value moves from 0 to 255, the brightness of the image increases. As the value moves from 0 to -255, the brightness of the image decreases.

Applies to