Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IFormatConditions Interface / AddColorScale Method
An integer value that indicates the number of color scales.


In This Topic
    AddColorScale Method
    In This Topic
    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.
    Syntax
    'Declaration
     
    
    Function AddColorScale( _
       ByVal colorScales As Integer _
    ) As IColorScale
    'Usage
     
    
    Dim instance As IFormatConditions
    Dim colorScales As Integer
    Dim value As IColorScale
     
    value = instance.AddColorScale(colorScales)
    IColorScale AddColorScale( 
       int colorScales
    )

    Parameters

    colorScales
    An integer value that indicates the number of color scales.

    Return Value

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