Click or drag to resize

ExcelGradient Class

Represents a gradient fill in an Excel spreadsheet.
Inheritance Hierarchy
System Object
Spire.Xls ExcelGradient

Namespace: Spire.Xls
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public class ExcelGradient : IGradient

The ExcelGradient type exposes the following members.

Properties
Name Description
Public property BackColor
Gets or sets the background color of the gradient.
Public property BackColorObject
Gets the background color object from the gradient.
Public property BackKnownColor
Gets or sets the background known color of the gradient.
Public property ForeColor
Gets or sets the foreground color of the gradient.
Public property ForeColorObject
Gets the foreground color object from the gradient.
Public property ForeKnownColor
Gets or sets the known color of the foreground in a gradient fill.
Public property GradientStyle
Gets or sets the gradient style type of the cell.
Public property GradientVariant
Gets or sets the gradient variant.
Top
Methods
Name Description
Public method CompareTo
Compares with gradient.
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Public method TwoColorGradient
Applies a two-color gradient effect to the current graphics object.
Public method TwoColorGradient(GradientStyleType, GradientVariantsType)
Applies a two-color gradient fill to the current shape.
Top
See Also