Spread Windows Forms 12.0 Product Documentation
Create(Double,Color,Color) Method


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet Namespace > GradientFillEffect Structure > Create Method : Create(Double,Color,Color) Method
A System.Double value indicates the angle of the linear gradient.
A Color value indicates the color of the first gradient stop, constituting this gradient fill effect.
A Color value indicates the color of the second gradient stop, constituting this gradient fill effect.
Creates the linear gradient fill.
Syntax
'Declaration
 
Public Overloads Shared Function Create( _
   ByVal degree As Double, _
   ByVal color1 As Color, _
   ByVal color2 As Color _
) As GradientFillEffect
'Usage
 
Dim degree As Double
Dim color1 As Color
Dim color2 As Color
Dim value As GradientFillEffect
 
value = GradientFillEffect.Create(degree, color1, color2)
public static GradientFillEffect Create( 
   double degree,
   Color color1,
   Color color2
)

Parameters

degree
A System.Double value indicates the angle of the linear gradient.
color1
A Color value indicates the color of the first gradient stop, constituting this gradient fill effect.
color2
A Color value indicates the color of the second gradient stop, constituting this gradient fill effect.

Return Value

A GradientFillEffect value represents the gradient fill effect.
See Also

Reference

GradientFillEffect Structure
GradientFillEffect Members
Overload List