Spread Windows Forms 7.0 Product Documentation
SolidLine Constructor(Color,Single)
See Also  Support Options
FarPoint.Win.Chart Assembly > FarPoint.Win.Chart Namespace > SolidLine Class > SolidLine Constructor : SolidLine Constructor(Color,Single)


color
Color of the line.
width
Widht of the line.

Glossary Item Box

Creates a line with the specified color and width.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal color As Color, _
   ByVal width As Single _
)
Visual Basic (Usage)Copy Code
Dim color As Color
Dim width As Single
 
Dim instance As New SolidLine(color, width)
C# 
public SolidLine( 
   Color color,
   float width
)

Parameters

color
Color of the line.
width
Widht of the line.

Exceptions

ExceptionDescription
System.ArgumentOutOfRangeException width is less than or equal to zero or width is greater than 3.

Remarks

Width is measured in points.

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.