Spread Windows Forms 7.0 Product Documentation
Line Constructor(LineStyle,Color)
See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > Line Class > Line Constructor : Line Constructor(LineStyle,Color)


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

Glossary Item Box

Initializes a new Line class instance with the specified attribute settings.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal lineStyle As LineStyle, _
   ByVal color As Color _
)
Visual Basic (Usage)Copy Code
Dim lineStyle As LineStyle
Dim color As Color
 
Dim instance As New Line(lineStyle, color)
C# 
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 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.