LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

LinearGradientMode Property






A LinearGradientMode enumeration element that specifies the orientation of the gradient.
Syntax
public virtual LinearGradientMode LinearGradientMode {get; set;}
'Declaration
 
Public Overridable Property LinearGradientMode As LinearGradientMode
'Usage
 
Dim instance As AnnLinearGradientBrush
Dim value As LinearGradientMode
 
instance.LinearGradientMode = value
 
value = instance.LinearGradientMode
public virtual LinearGradientMode LinearGradientMode {get; set;}
 get_LinearGradientMode();
set_LinearGradientMode(value);
public:
virtual property LinearGradientMode LinearGradientMode {
   LinearGradientMode get();
   void set (    LinearGradientMode value);
}

Property Value

A LinearGradientMode enumeration element that specifies the orientation of the gradient.
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.
Example
For an example, refer to AnnLinearGradientBrush.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnLinearGradientBrush Class
AnnLinearGradientBrush Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.