.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > Line Class > Line Constructor : Line Constructor(Color,Int32)
Color of the line.
Width of the line.
Line Constructor(Color,Int32)
Initialize a new instance of the Line class with a color and line width.
Syntax
'Declaration
 
Public Function New( _
   ByVal c As Color, _
   ByVal width As Integer _
)
'Usage
 
Dim c As Color
Dim width As Integer
 
Dim instance As New Line(c, width)
public Line( 
   Color c,
   int width
)

Parameters

c
Color of the line.
width
Width of the 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