Skip to content

Class ExcelDrawingGradientFillLinearSettings

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

Settings specific for linear gradiant fills

public class ExcelDrawingGradientFillLinearSettings

Inheritance

object ← ExcelDrawingGradientFillLinearSettings

Inherited Members

object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()

Properties

Angle

The direction of color change for the gradient.To define this angle, let its value be x measured clockwise.Then( -sin x, cos x) is a vector parallel to the line of constant color in the gradient fill.

public double Angle { get; set; }

Property Value

double

Scaled

If the gradient angle scales with the fill.

public bool Scaled { get; set; }

Property Value

bool