Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / IFillFormat Interface / OneColorGradient Method
The gradient style.
The gradient variant that the value from 1 through 4.
The gradient degree. Can be a value from 0.0 (dark) through 1.0 (light).


In This Topic
    OneColorGradient Method
    In This Topic
    Fills the shape with a one-color gradient.
    Syntax
    'Declaration
     
    
    Sub OneColorGradient( _
       ByVal style As GradientStyle, _
       ByVal variant As Integer, _
       ByVal degree As Double _
    ) 
    'Usage
     
    
    Dim instance As IFillFormat
    Dim style As GradientStyle
    Dim variant As Integer
    Dim degree As Double
     
    instance.OneColorGradient(style, variant, degree)
    void OneColorGradient( 
       GradientStyle style,
       int variant,
       double degree
    )

    Parameters

    style
    The gradient style.
    variant
    The gradient variant that the value from 1 through 4.
    degree
    The gradient degree. Can be a value from 0.0 (dark) through 1.0 (light).
    See Also