[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.GradientFillType

GradientFillType Enum

Specifies the type of gradient fill.

Use this enum to distinguish between no gradient fill, a linear gradient, and a path gradient. A linear gradient transitions colors along a line, while a path gradient transitions colors within a rectangular path defined by its boundary settings.

Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public enum GradientFillType
Public Enum GradientFillType
Examples
GradientFillType fillType = GradientFillType.Linear;
if (fillType == GradientFillType.Linear)
{
    worksheet.Range["A1"].Value = "Linear gradient fill";
}

Fields

Name Description
Linear

Specifies that this gradient fill is of linear gradient type. Linear gradient type means that the transition from one color to the next is along a line.

None

Specifies that no gradient fill is applied.

Path

Specifies a path gradient fill.

In a path gradient fill, the boundary of the transition from one color to the next is a rectangle defined by the top, bottom, left, and right attributes of the gradient fill.