PdfCanvas
DrawLine Method (PdfPen, PointF, PointF)
|
Draws a line.
Namespace:
Spire.Pdf.Graphics
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public void DrawLine(
PdfPen pen,
PointF point1,
PointF point2
)
Public Sub DrawLine (
pen As PdfPen,
point1 As PointF,
point2 As PointF
)
public:
void DrawLine(
PdfPen^ pen,
PointF point1,
PointF point2
)
member DrawLine :
pen : PdfPen *
point1 : PointF *
point2 : PointF -> unit
Parameters
-
pen
-
Type:
Spire.Pdf.Graphics
PdfPen
The pen.
-
point1
-
Type:
System.Drawing
PointF
The point1.
-
point2
-
Type:
System.Drawing
PointF
The point2.
See Also