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