C#
VB
C++
Draws a line between the specified points using the specified D2DPen.
pen
D2DPen that determines the Pen brush, thickness, and style.
startPoint
The start point of the line.
endPoint
The end point of the line.
This method draws a line between the specified points using the specified Pen style.