| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim color As Color Dim width As Single Dim instance As New SolidLine(color, width)  | |
Parameters
- color
 - Color of the line.
 - width
 - Widht of the line.
 
| Exception | Description | 
|---|---|
| System.ArgumentOutOfRangeException | width is less than or equal to zero or width is greater than 3. | 
Width is measured in points.
            
            
            
            
            Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8