Back to Devexpress

ShapeGradientType Enum

officefileapi-devexpress-dot-spreadsheet-dot-drawings-986f10f5.md

latest1.8 KB
Original Source

ShapeGradientType Enum

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

Declaration

csharp
public enum ShapeGradientType
vb
Public Enum ShapeGradientType

Members

NameDescription
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:

Remarks

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

DevExpress.Spreadsheet.Drawings Namespace