Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / TwoColorScaleConditionalFormattingRule Class / TwoColorScaleConditionalFormattingRule Constructor / TwoColorScaleConditionalFormattingRule Constructor(Color,Color)
Color of the minimum value.
Color of the maximum value.
Example


In This Topic
    TwoColorScaleConditionalFormattingRule Constructor(Color,Color)
    In This Topic
    Initializes a new instance of the TwoColorScaleConditionalFormattingRule class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal minColor As Color, _
       ByVal maxColor As Color _
    )
    'Usage
     
    
    Dim minColor As Color
    Dim maxColor As Color
     
    Dim instance As New TwoColorScaleConditionalFormattingRule(minColor, maxColor)
    public TwoColorScaleConditionalFormattingRule( 
       Color minColor,
       Color maxColor
    )

    Parameters

    minColor
    Color of the minimum value.
    maxColor
    Color of the maximum value.
    Example
    This example creates a two color scale rule.
    See Also