←Select platform

LinearGradientMode Property

Summary

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

Syntax

C#
VB
C++
public virtual LinearGradientMode LinearGradientMode { get; set; } 
  
Public Overridable Property LinearGradientMode As LinearGradientMode 
public: 
virtual property LinearGradientMode LinearGradientMode { 
   LinearGradientMode get(); 
   void set (    LinearGradientMode ); 
} 

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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations Assembly