DrawingContext::DrawLine Method (Pen^, Point, Point)
.NET Framework (current version)
Draws a line between the specified points using the specified Pen.
Assembly: PresentationCore (in PresentationCore.dll)
Parameters
- pen
-
Type:
System.Windows.Media::Pen^
The pen with which to stroke the line.
- point0
-
Type:
System.Windows::Point
The start point of the line.
- point1
-
Type:
System.Windows::Point
The end point of the line.
.NET Framework
Available since 3.0
Available since 3.0
Show: