[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.IFormatConditions.AddColorScale

AddColorScale Method

AddColorScale(int)

Returns a new IColorScale object representing a conditional formatting rule that uses gradations in cell colors to indicate relative differences in the values of cells included in a selected range.

Declaration
IColorScale AddColorScale(int colorScales)
Function AddColorScale(colorScales As Integer) As IColorScale
Parameters
Type Name Description
int colorScales

An integer value that indicates the number of color scales.

Returns
Type Description
IColorScale

A new IColorScale object representing a conditional formatting rule that uses gradations in cell colors.