Freigeben über


LinearGradientBrush.GammaCorrection-Eigenschaft

Ruft einen Wert ab, der angibt, ob die Gammakorrektur für das LinearGradientBrush-Objekt aktiviert ist, oder legt diesen fest.

Namespace: System.Drawing.Drawing2D
Assembly: System.Drawing (in system.drawing.dll)

Syntax

'Declaration
Public Property GammaCorrection As Boolean
'Usage
Dim instance As LinearGradientBrush
Dim value As Boolean

value = instance.GammaCorrection

instance.GammaCorrection = value
public bool GammaCorrection { get; set; }
public:
property bool GammaCorrection {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_GammaCorrection ()

/** @property */
public void set_GammaCorrection (boolean value)
public function get GammaCorrection () : boolean

public function set GammaCorrection (value : boolean)

Eigenschaftenwert

Der Wert ist true, wenn die Gammakorrektur für LinearGradientBrush aktiviert ist, andernfalls false.

Plattformen

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

LinearGradientBrush-Klasse
LinearGradientBrush-Member
System.Drawing.Drawing2D-Namespace