Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / IFillFormat Interface / Gradient Method
The gradient style.
The gradient variant that the value from 1 through 4.
The GrapeCity.Drawing.SchemeGradientStop array indicates the gradient stops of the gradient brush.


In This Topic
    Gradient Method
    In This Topic
    Fills the shape with the specified gradient.
    Syntax
    'Declaration
     
    
    Sub Gradient( _
       ByVal style As GradientStyle, _
       ByVal variant As Integer, _
       ByVal gradientStops() As SchemeGradientStop _
    ) 
    'Usage
     
    
    Dim instance As IFillFormat
    Dim style As GradientStyle
    Dim variant As Integer
    Dim gradientStops() As SchemeGradientStop
     
    instance.Gradient(style, variant, gradientStops)

    Parameters

    style
    The gradient style.
    variant
    The gradient variant that the value from 1 through 4.
    gradientStops
    The GrapeCity.Drawing.SchemeGradientStop array indicates the gradient stops of the gradient brush.
    See Also