dotnetCHARTING Send comments on this topic.
Background Constructor(Color,Color)
See Also 
dotnetCHARTING Namespace > Background Class > Background Constructor : Background Constructor(Color,Color)


myColor
First color.
secondColor
Second color
Initializes a new instance of the Background object with gradient colors drawn left to right.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal myColor As Color, _
   ByVal secondColor As Color _
)
Visual Basic (Usage)Copy Code
Dim myColor As Color
Dim secondColor As Color
 
Dim instance As Background(myColor, secondColor)
C# 
public Background( 
   Color myColor,
   Color secondColor
)

Parameters

myColor
First color.
secondColor
Second color

See Also