Class ExcelDxfGradientFill
Represents a gradient fill used for differential style formatting.
Inherited Members
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 |
|---|---|
| Nullable<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 |
|---|---|
| Nullable<Double> |
GradientType
Type of gradient fill
Declaration
public eDxfGradientFillType? GradientType { get; set; }
Property Value
| Type | Description |
|---|---|
| Nullable<eDxfGradientFillType> |
HasValue
If the object has any properties set
Declaration
public override bool HasValue { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Overrides
Left
The left position of the inner rectangle (color 1).
Declaration
public double? Left { get; set; }
Property Value
| Type | Description |
|---|---|
| Nullable<Double> |
Right
The right position of the inner rectangle (color 1).
Declaration
public double? Right { get; set; }
Property Value
| Type | Description |
|---|---|
| Nullable<Double> |
Top
The top position of the inner rectangle (color 1).
Declaration
public double? Top { get; set; }
Property Value
| Type | Description |
|---|---|
| Nullable<Double> |
Methods
Clear()
Clears all properties
Declaration
public override void Clear()