Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GradientEffect Class / GradientEffect Constructor / GradientEffect Constructor(GradientStyle,GradientDirection,Color,Color)
Indicates the style of gradient.
Indicates the direction of gradient.
Indicates the color of gradient starting.
Indicates the color of gradient ending.


In This Topic
    GradientEffect Constructor(GradientStyle,GradientDirection,Color,Color)
    In This Topic
    Initializes the instance of GradientEffect class with specifics value.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal style As GradientStyle, _
       ByVal direction As GradientDirection, _
       ByVal startColor As Color, _
       ByVal endColor As Color _
    )
    'Usage
     
    
    Dim style As GradientStyle
    Dim direction As GradientDirection
    Dim startColor As Color
    Dim endColor As Color
     
    Dim instance As New GradientEffect(style, direction, startColor, endColor)

    Parameters

    style
    Indicates the style of gradient.
    direction
    Indicates the direction of gradient.
    startColor
    Indicates the color of gradient starting.
    endColor
    Indicates the color of gradient ending.
    See Also