Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / ColorScaleCfRule Class / SetColor Method
An integer value indicates the index of conditional formatting value.
A Color value represents the color.


In This Topic
    SetColor Method (ColorScaleCfRule)
    In This Topic
    Sets the color at the specified index.
    Syntax
    'Declaration
     
    
    Public Sub SetColor( _
       ByVal index As Integer, _
       ByVal color As Color _
    ) 
    'Usage
     
    
    Dim instance As ColorScaleCfRule
    Dim index As Integer
    Dim color As Color
     
    instance.SetColor(index, color)
    public void SetColor( 
       int index,
       Color color
    )

    Parameters

    index
    An integer value indicates the index of conditional formatting value.
    color
    A Color value represents the color.
    See Also