Show / Hide Table of Contents

Class ExcelDrawingGradientFill

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

Inheritance
object
ExcelDrawingFillBase
ExcelDrawingGradientFill
Inherited Members
ExcelDrawingFillBase.CheckTypeChange(string)
ExcelDrawingFillBase._xml
ExcelDrawingFillBase._topNode
ExcelDrawingFillBase._nsm
ExcelDrawingFillBase._fillPath
ExcelDrawingFillBase.InitXml(XmlNamespaceManager, XmlNode, string)
ExcelDrawingFillBase.CreateXmlHelper()
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: OfficeOpenXml.Drawing.Style.Fill
Assembly: EPPlus.dll
Syntax
public class ExcelDrawingGradientFill : ExcelDrawingFillBase

Properties

Colors

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

Declaration
public ExcelDrawingGradientFillColorList Colors { get; }
Property Value
Type Description
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

Declaration
public ExcelDrawingRectangle FocusPoint { get; }
Property Value
Type Description
ExcelDrawingRectangle

LinearSettings

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

Declaration
public ExcelDrawingGradientFillLinearSettings LinearSettings { get; }
Property Value
Type Description
ExcelDrawingGradientFillLinearSettings

RotateWithShape

If the fill rotates along with shape.

Declaration
public bool RotateWithShape { get; set; }
Property Value
Type Description
bool

ShadePath

Specifies the shape of the path to follow

Declaration
public eShadePath ShadePath { get; set; }
Property Value
Type Description
eShadePath

Style

The fill style.

Declaration
public override eFillStyle Style { get; }
Property Value
Type Description
eFillStyle
Overrides
ExcelDrawingFillBase.Style

TileFlip

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

Declaration
public eTileFlipMode TileFlip { get; set; }
Property Value
Type Description
eTileFlipMode
In this article
Back to top Generated by DocFX