'Declaration Public Overloads Sub DrawLine( _
ByVal penThe pen that determines the color, width, and style of the line.As IDrawingPen, _
ByVal p1The System.Drawing.PointF structure that represents the first point to connect.As System.Drawing.PointF, _
ByVal p2The System.Drawing.PointF structure that represents the second point to connect.As System.Drawing.PointF _
)
public void DrawLine(
IDrawingPen pen,
System.Drawing.PointF p1,
System.Drawing.PointF p2
)
public: void DrawLine(
IDrawingPen* pen,
System.Drawing.PointF p1,
System.Drawing.PointF p2
)
public:
void DrawLine(
IDrawingPen^ pen,
System.Drawing.PointF p1,
System.Drawing.PointF p2
)
Parameters
- pen
- The pen that determines the color, width, and style of the line.
- p1
- The System.Drawing.PointF structure that represents the first point to connect.
- p2
- The System.Drawing.PointF structure that represents the second point to connect.