Spread Windows Forms 9.0 Product Documentation
SolidLine Constructor(Color,Single)


Color of the line.
Widht of the line.
Creates a line with the specified color and width.
Syntax
'Declaration
 
Public Function New( _
   ByVal color As Color, _
   ByVal width As Single _
)
'Usage
 
Dim color As Color
Dim width As Single
 
Dim instance As New SolidLine(color, width)
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 Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

SolidLine Class
SolidLine Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.