.DrawLines Method (Pen, PointF )
.NET Framework 4.6 and 4.5
Draws a series of line segments that connect an array of
member DrawLines :
points:PointF -> unit
Exception Condition ArgumentNullException pen is . a null reference ( Nothing in Visual Basic)
points is . a null reference ( Nothing in Visual Basic)
This method draws a series of lines connecting an array of ending points. The first two points in the array specify the first line. Each additional point specifies the end of a line segment whose starting point is the ending point of the previous line segment.
The following code example is designed for use with Windows Forms, and it requires
PaintEventArgs e, which is a parameter of the event handler. The code performs the following actions: Paint
Code creates a black pen.
Creates an array of points of segments of the line.
Draws the connected line segments to the screen.
No code example is currently available or this language may not be supported.
Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
.NET Framework Client Profile
Supported in: 4, 3.5 SP1