The LinearGradientMode Property is available in LEADTOOLS Document and Medical Imaging toolkits.
A LinearGradientMode enumeration element that specifies the orientation of the gradient.Visual Basic (Declaration) | |
---|---|
Public Overridable Property LinearGradientMode As LinearGradientMode |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As AnnLinearGradientBrush Dim value As LinearGradientMode instance.LinearGradientMode = value value = instance.LinearGradientMode |
C# | |
---|---|
public virtual LinearGradientMode LinearGradientMode {get; set;} |
C++/CLI | |
---|---|
public: virtual property LinearGradientMode LinearGradientMode { LinearGradientMode get(); void set ( LinearGradientMode value); } |
Property Value
A LinearGradientMode enumeration element that specifies the orientation of the gradient.For an example, refer to AnnLinearGradientBrush.
The orientation determines the starting and ending points of the gradient. For example, LinearGradientMode.ForwardDiagonal specifies that the starting point is the upper-left corner of the rectangle and the ending point is the lower-right corner of the rectangle.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7