Spread WPF 18
GrapeCity.Spreadsheet.Drawing Namespace / IFillFormat Interface / PresetGradient Method
The gradient style.
The gradient variant that the value from 1 through 4.
The preset gradient type.


In This Topic
    PresetGradient Method
    In This Topic
    Fills the shape with a preset gradient.
    Syntax
    'Declaration
     
    Sub PresetGradient( _
       ByVal style As GradientStyle, _
       ByVal variant As Integer, _
       ByVal presetGradientType As PresetGradientType _
    ) 
    'Usage
     
    Dim instance As IFillFormat
    Dim style As GradientStyle
    Dim variant As Integer
    Dim presetGradientType As PresetGradientType
     
    instance.PresetGradient(style, variant, presetGradientType)
    void PresetGradient( 
       GradientStyle style,
       int variant,
       PresetGradientType presetGradientType
    )

    Parameters

    style
    The gradient style.
    variant
    The gradient variant that the value from 1 through 4.
    presetGradientType
    The preset gradient type.
    See Also