Class ExcelDrawingGradientFill
A gradient fill. This fill gradual transition from one color to the next.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.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 |
---|---|
System.Boolean |
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
TileFlip
The direction(s) in which to flip the gradient while tiling
Declaration
public eTileFlipMode TileFlip { get; set; }
Property Value
Type | Description |
---|---|
eTileFlipMode |