Export (0) Print
Expand All
1 out of 3 rated this helpful - Rate this topic

Graphics.DrawLine Method

Draws a line connecting the two points specified by the coordinate pairs.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method DrawLine(Pen, Point, Point) Draws a line connecting two Point structures.
Public method DrawLine(Pen, PointF, PointF) Draws a line connecting two PointF structures.
Public method DrawLine(Pen, Int32, Int32, Int32, Int32) Draws a line connecting the two points specified by the coordinate pairs.
Public method DrawLine(Pen, Single, Single, Single, Single) Draws a line connecting the two points specified by the coordinate pairs.
Top
Show:
© 2014 Microsoft. All rights reserved.