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


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

Glossary Item Box

Creates a new gradient fill with the specified colors.

Syntax

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

Parameters

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

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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