Export (0) Print
Expand All

LinearGradientMode Enumeration

Specifies the direction of a linear gradient.

[Visual Basic]
<Serializable>
Public Enum LinearGradientMode
[C#]
[Serializable]
public enum LinearGradientMode
[C++]
[Serializable]
__value public enum LinearGradientMode
[JScript]
public
   Serializable
enum LinearGradientMode

Members

Member name Description
BackwardDiagonal Specifies a gradient from upper right to lower left.
ForwardDiagonal Specifies a gradient from upper left to lower right.
Horizontal Specifies a gradient from left to right.
Vertical Specifies a gradient from top to bottom.

Requirements

Namespace: System.Drawing.Drawing2D

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Drawing (in System.Drawing.dll)

See Also

System.Drawing.Drawing2D Namespace

Show:
© 2014 Microsoft