Spread Windows Forms 10.0 Product Documentation
Line Constructor(LineStyle,Color)


A LineStyle enumeration that indicates the line style of the line.
A Color value that indicates the color of the line.
Initializes a new Line class instance with the specified attribute settings.
Syntax
'Declaration
 
Public Function New( _
   ByVal lineStyle As LineStyle, _
   ByVal color As Color _
)
'Usage
 
Dim lineStyle As LineStyle
Dim color As Color
 
Dim instance As New Line(lineStyle, color)
public Line( 
   LineStyle lineStyle,
   Color color
)

Parameters

lineStyle
A LineStyle enumeration that indicates the line style of the line.
color
A Color value that indicates the color of the line.
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

Line Class
Line Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.