Spread Windows Forms 12.0 Product Documentation
CreateGradientFill(IStyles,GradientFillEffect) Method


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet.Extensions Namespace > StyleExtensions Class > CreateGradientFill Method : CreateGradientFill(IStyles,GradientFillEffect) Method
The GrapeCity.Spreadsheet.IStyles object that creates the gradient fill.
A GrapeCity.Spreadsheet.GradientFillEffect value indicates the gradient fill effect.
Creates the gradient fill.
Syntax
'Declaration
 
Public Overloads Shared Function CreateGradientFill( _
   ByVal styles As IStyles, _
   ByVal gradientFillEffect As GradientFillEffect _
) As Fill
'Usage
 
Dim styles As IStyles
Dim gradientFillEffect As GradientFillEffect
Dim value As Fill
 
value = StyleExtensions.CreateGradientFill(styles, gradientFillEffect)
public static Fill CreateGradientFill( 
   IStyles styles,
   GradientFillEffect gradientFillEffect
)

Parameters

styles
The GrapeCity.Spreadsheet.IStyles object that creates the gradient fill.
gradientFillEffect
A GrapeCity.Spreadsheet.GradientFillEffect value indicates the gradient fill effect.

Return Value

A GrapeCity.Spreadsheet.Fill value represents the created gradient fill.
See Also

Reference

StyleExtensions Class
StyleExtensions Members
Overload List