Click or drag to resize

ColorScale Class

The color scale condition in the conditional format
Inheritance Hierarchy
System Object
Spire.Xls ColorScale

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

The ColorScale type exposes the following members.

Properties
Name Description
Public property Criteria
Indicates the type, value, and the color of threshold criteria used in the color scale conditional format.
Public property MaxColor
Get or set the max value object's corresponding color.
Public property MaxValue
Get or set this ColorScale's max value object.
Public property MidCfvoType
Get or set the type of this conditional formatting middle value type.
Public property MidCfvoValue
Get or set the value of this conditional formatting middle value object.
Public property MidColor
Get or set the mid value object's corresponding color.
Public property MidValue
Get or set this ColorScale's mid value object.
Public property MinColor
Get or set the min value object's corresponding color.
Public property MinValue
Get or set this ColorScale's min value object.
Top
Methods
Name Description
Public method AddCriteria(ColorConditionValue) Obsolete.
Add a ColorConditionValue
Public method AddCriteria(ConditionValueType, Object, Color)
Add a ColorConditionValue
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 SetConditionCount
Sets number of objects in the collection.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also