Class ExcelGradientFill
- Namespace
- OfficeOpenXml.Style
- Assembly
- EPPlus.dll
The background fill of a cell
public class ExcelGradientFill : StyleBase
- Inheritance
-
ExcelGradientFill
- Inherited Members
Properties
Bottom
The bottom position of the inner rectangle (color 1) in percentage format (from the top to the bottom). Spans from 0 to 1
public double Bottom { get; set; }
Property Value
Color1
Gradient Color 1
public ExcelColor Color1 { get; }
Property Value
Color2
Gradient Color 2
public ExcelColor Color2 { get; }
Property Value
Degree
Angle of the linear gradient
public double Degree { get; set; }
Property Value
Left
The left position of the inner rectangle (color 1) in percentage format (from the left to the right). Spans from 0 to 1
public double Left { get; set; }
Property Value
Right
The right position of the inner rectangle (color 1) in percentage format (from the left to the right). Spans from 0 to 1
public double Right { get; set; }
Property Value
Top
The top position of the inner rectangle (color 1) in percentage format (from the top to the bottom). Spans from 0 to 1
public double Top { get; set; }
Property Value
Type
Linear or Path gradient
public ExcelFillGradientType Type { get; set; }