Graphics.DrawLine Method
.NET Framework 2.0
Draws a line connecting the two points specified by the coordinate pairs.
Graphics Members
System.Drawing Namespace
| Name | Description |
|---|---|
| Graphics.DrawLine (Pen, Point, Point) | Draws a line connecting two Point structures. |
| Graphics.DrawLine (Pen, PointF, PointF) | Draws a line connecting two PointF structures. |
| Graphics.DrawLine (Pen, Int32, Int32, Int32, Int32) | Draws a line connecting the two points specified by the coordinate pairs. Supported by the .NET Compact Framework. |
| Graphics.DrawLine (Pen, Single, Single, Single, Single) | Draws a line connecting the two points specified by the coordinate pairs. |
Reference
Graphics ClassGraphics Members
System.Drawing Namespace
Other Resources
Using a Pen to Draw Lines and ShapesCommunity Additions
ADD
Show: