Class ExcelGradientFill¶
Namespace: OfficeOpenXml.Style
Assembly: EPPlus.dll
The background fill of a cell
Inheritance¶
object ← StyleBase ← ExcelGradientFill
Inherited Members¶
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
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
Property Value¶
Color1¶
Gradient Color 1
Property Value¶
Color2¶
Gradient Color 2
Property Value¶
Degree¶
Angle of the linear gradient
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
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
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
Property Value¶
Type¶
Linear or Path gradient