MetafileRecorderGraphics2DDrawLine Method (Pen, Point, Point)
Draws the line.

Namespace: Aspose.Imaging.FileFormats.Emf.Graphics
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.05
Syntax
public void DrawLine(
	Pen pen,
	Point pt1,
	Point pt2
)

Parameters

pen
Type: Aspose.ImagingPen
Pen that determines the color, width, and style of the figure.
pt1
Type: Aspose.ImagingPoint
The first point.
pt2
Type: Aspose.ImagingPoint
The second point.
See Also