Table of Contents

Class ExcelDxfGradientFill

Namespace
OfficeOpenXml.Style.Dxf
Assembly
EPPlus.dll

Represents a gradient fill used for differential style formatting.

public class ExcelDxfGradientFill : DxfStyleBase
Inheritance
ExcelDxfGradientFill
Inherited Members

Properties

Bottom

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

public double? Bottom { get; set; }

Property Value

double?

Colors

A collection of colors and percents for the gradient fill

public ExcelDxfGradientFillColorCollection Colors { get; }

Property Value

ExcelDxfGradientFillColorCollection

Degree

Angle of the linear gradient

public double? Degree { get; set; }

Property Value

double?

GradientType

Type of gradient fill

public eDxfGradientFillType? GradientType { get; set; }

Property Value

eDxfGradientFillType?

HasValue

If the object has any properties set

public override bool HasValue { get; }

Property Value

bool

Left

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

public double? Left { get; set; }

Property Value

double?

Right

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

public double? Right { get; set; }

Property Value

double?

Top

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

public double? Top { get; set; }

Property Value

double?

Methods

Clear()

Clears all properties

public override void Clear()