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 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