[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IColorScale

IColorScale Interface

Represents a color scale conditional formatting rule.

Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public interface IColorScale
Public Interface IColorScale

Properties

Name Description
AppliesTo

Returns a Range object that specifies the cell range to which the formatting rule is applied.

ColorScaleCriteria

Returns a ColorScaleCriteria object, which is a collection of individual ColorScaleCriterion objects. The ColorScaleCriterion object specifies the type, value, and color of threshold criteria used in the color scale conditional format (read-only).

Priority

Returns or sets the priority value of the conditional formatting rule. The priority determines the order of evaluation when multiple conditional formatting rules exist in a worksheet.

StopIfTrue

Returns a Boolean value that determines if additional formatting rules on the cell should be evaluated if the current rule evaluates to True.

Type

Returns the type of this conditional format.

Methods

Name Description
Delete()

Deletes this conditional format.

FromJson(string)

Generates the conditional format from the json string.

SetFirstPriority()

Sets the priority value for this conditional formatting rule to "1" so that it will be evaluated before all other rules on the worksheet.

SetLastPriority()

Sets the evaluation order for this conditional formatting rule so it is evaluated after all other rules on the worksheet.

ToJson()

Generates a json string from the conditional format.