.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > Background Class > Background Constructor : Background Constructor(Color,Color,Single)
First color.
Second color
Specifies an angle ( left to right = 0, right to left = 180 )
Background Constructor(Color,Color,Single)
Initializes a new instance of the Background object with gradient colors drawn at a specified angle.
Syntax
'Declaration
 
Public Function New( _
   ByVal myColor As Color, _
   ByVal secondColor As Color, _
   ByVal angle As Single _
)
'Usage
 
Dim myColor As Color
Dim secondColor As Color
Dim angle As Single
 
Dim instance As New Background(myColor, secondColor, angle)
public Background( 
   Color myColor,
   Color secondColor,
   float angle
)

Parameters

myColor
First color.
secondColor
Second color
angle
Specifies an angle ( left to right = 0, right to left = 180 )
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