Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
LinearGradientMode Property
See Also 
Leadtools.Annotations Namespace > AnnLinearGradientBrush Class : LinearGradientMode Property




A LinearGradientMode enumeration element that specifies the orientation of the gradient.

Syntax

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;}
Managed Extensions for C++ 
public: __property virtual LinearGradientMode get_LinearGradientMode();
public: __property virtual void set_LinearGradientMode( 
   LinearGradientMode value
);
C++/CLI 
public:
virtual property LinearGradientMode LinearGradientMode {
   LinearGradientMode get();
   void set (LinearGradientMode value);
}

Return Value

A LinearGradientMode enumeration element that specifies the orientation of the gradient.

Example

For an example, refer to AnnLinearGradientBrush.

Remarks

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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features