.netCHARTING v10.7 Documentation


dotnetCHARTING Namespace > Line Class > Line Constructor : Line Constructor(Color,DashStyle)
Color of the line.
System.Drawing.Drawing2D.DashStyle of this line.
Line Constructor(Color,DashStyle)
Initialize a new instance of the Line class with a color and System.Drawing.Drawing2D.DashStyle.
Syntax
'Declaration
 
Public Function New( _
   ByVal c As Color, _
   ByVal ds As DashStyle _
)
'Usage
 
Dim c As Color
Dim ds As DashStyle
 
Dim instance As New Line(c, ds)
public Line( 
   Color c,
   DashStyle ds
)

Parameters

c
Color of the line.
ds
System.Drawing.Drawing2D.DashStyle of this line.
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