Spread Windows Forms 7.0 Product Documentation
GradientFill Constructor(Color,Color,GradientStyle)
See Also  Support Options
FarPoint.Win.Chart Assembly > FarPoint.Win.Chart Namespace > GradientFill Class > GradientFill Constructor : GradientFill Constructor(Color,Color,GradientStyle)


color0
Start color of the gradient
color1
End color of the gradient
style
Style of gradient

Glossary Item Box

Creates a new gradient fill with the specified colors and the specified style of gradient.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal color0 As Color, _
   ByVal color1 As Color, _
   ByVal style As GradientStyle _
)
Visual Basic (Usage)Copy Code
Dim color0 As Color
Dim color1 As Color
Dim style As GradientStyle
 
Dim instance As New GradientFill(color0, color1, style)
C# 
public GradientFill( 
   Color color0,
   Color color1,
   GradientStyle style
)

Parameters

color0
Start color of the gradient
color1
End color of the gradient
style
Style of gradient

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.