Skip to content

Class ExcelDrawingGradientFill

Namespace: OfficeOpenXml.Drawing.Style.Fill
Assembly: EPPlus.dll

A gradient fill. This fill gradual transition from one color to the next.

public class ExcelDrawingGradientFill : ExcelDrawingFillBase

Inheritance

object ← ExcelDrawingFillBase ← ExcelDrawingGradientFill

Inherited Members

ExcelDrawingFillBase._fillPath
ExcelDrawingFillBase._nsm
ExcelDrawingFillBase._topNode
ExcelDrawingFillBase._xml
ExcelDrawingFillBase.CheckTypeChange(string)
ExcelDrawingFillBase.CreateXmlHelper()
ExcelDrawingFillBase.InitXml(XmlNamespaceManager, XmlNode, string)
ExcelDrawingFillBase.Style
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()

Properties

Colors

A list of colors and their positions in percent used to generate the gradiant fill

public ExcelDrawingGradientFillColorList Colors { get; }

Property Value

ExcelDrawingGradientFillColorList

FocusPoint

The focuspoint when ShadePath is set to a non linear value. This property is set to null if ShadePath is set to Linear

public ExcelDrawingRectangle FocusPoint { get; }

Property Value

ExcelDrawingRectangle

LinearSettings

Linear gradient settings. This property is set to null if ShadePath is set to Linear

public ExcelDrawingGradientFillLinearSettings LinearSettings { get; }

Property Value

ExcelDrawingGradientFillLinearSettings

RotateWithShape

If the fill rotates along with shape.

public bool RotateWithShape { get; set; }

Property Value

bool

ShadePath

Specifies the shape of the path to follow

public eShadePath ShadePath { get; set; }

Property Value

eShadePath

Style

The fill style.

public override eFillStyle Style { get; }

Property Value

eFillStyle

TileFlip

The direction(s) in which to flip the gradient while tiling

public eTileFlipMode TileFlip { get; set; }

Property Value

eTileFlipMode