Show / Hide Table of Contents

Class ExcelDxfGradientFill

Represents a gradient fill used for differential style formatting.

Inheritance
object
DxfStyleBase
ExcelDxfGradientFill
Inherited Members
DxfStyleBase.SetValueColor(XmlHelper, string, ExcelDxfColor)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: OfficeOpenXml.Style.Dxf
Assembly: EPPlus.dll
Syntax
public class ExcelDxfGradientFill : DxfStyleBase

Properties

Bottom

The bottom position of the inner rectangle (color 1).

Declaration
public double? Bottom { get; set; }
Property Value
Type Description
double?

Colors

A collection of colors and percents for the gradient fill

Declaration
public ExcelDxfGradientFillColorCollection Colors { get; }
Property Value
Type Description
ExcelDxfGradientFillColorCollection

Degree

Angle of the linear gradient

Declaration
public double? Degree { get; set; }
Property Value
Type Description
double?

GradientType

Type of gradient fill

Declaration
public eDxfGradientFillType? GradientType { get; set; }
Property Value
Type Description
eDxfGradientFillType?

HasValue

If the object has any properties set

Declaration
public override bool HasValue { get; }
Property Value
Type Description
bool
Overrides
DxfStyleBase.HasValue

Left

The left position of the inner rectangle (color 1).

Declaration
public double? Left { get; set; }
Property Value
Type Description
double?

Right

The right position of the inner rectangle (color 1).

Declaration
public double? Right { get; set; }
Property Value
Type Description
double?

Top

The top position of the inner rectangle (color 1).

Declaration
public double? Top { get; set; }
Property Value
Type Description
double?

Methods

Clear()

Clears all properties

Declaration
public override void Clear()
Overrides
DxfStyleBase.Clear()
In this article
Back to top Generated by DocFX