officefileapi-devexpress-dot-spreadsheet-dot-drawings-986f10f5.md
Lists values used to specify the gradient types for the gradient fill.
Namespace : DevExpress.Spreadsheet.Drawings
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
public enum ShapeGradientType
Public Enum ShapeGradientType
| Name | Description |
|---|---|
Linear |
Specifies a linear gradient that blends two or more colors along a line.
|
| Rectangle |
Specifies a rectangular gradient that blends two or more colors along a rectangle.
|
| Circle |
Specifies a radial gradient that blends two or more colors along a circle.
|
| Shape |
Specifies a path gradient that blends two or more colors along a shape to which the gradient fill is applied.
|
The following properties accept/return ShapeGradientType values:
To apply the gradient fill to a chart element, call the ShapeOutlineFill.SetGradientFill method with the ShapeGradientType enumeration value passed as a parameter. To obtain type of the applied gradient fill, use the ShapeGradientFill.GradientType property.
See Also