Spread Silverlight Documentation
GrapeCity.Windows.SpreadSheet.Data Namespace / DataBarRule Class / Create Method
The minimum type.
The minimum value.
The maximum type.
The maximum value.
The color.


In This Topic
    Create Method (DataBarRule)
    In This Topic
    Creates a new object of the data bar set rule.
    Syntax
    'Declaration
     
    Public Shared Function Create( _
       ByVal minType As ScaleValueType, _
       ByVal minValue As Object, _
       ByVal maxType As ScaleValueType, _
       ByVal maxValue As Object, _
       ByVal Color As Color _
    ) As DataBarRule
    'Usage
     
    Dim minType As ScaleValueType
    Dim minValue As Object
    Dim maxType As ScaleValueType
    Dim maxValue As Object
    Dim Color As Color
    Dim value As DataBarRule
     
    value = DataBarRule.Create(minType, minValue, maxType, maxValue, Color)
    public static DataBarRule Create( 
       ScaleValueType minType,
       object minValue,
       ScaleValueType maxType,
       object maxValue,
       Color Color
    )

    Parameters

    minType
    The minimum type.
    minValue
    The minimum value.
    maxType
    The maximum type.
    maxValue
    The maximum value.
    Color
    The color.

    Return Value

    A new data bar set rule.
    See Also