Spread Windows Forms 6.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 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

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