Draws a line.
Namespace: Spire.Pdf.GraphicsAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)
Syntax
C# | Visual Basic | Visual C++ | F# |
public void DrawLine( PdfPen pen, float x1, float y1, float x2, float y2 )
Public Sub DrawLine ( pen As PdfPen, x1 As Single, y1 As Single, x2 As Single, y2 As Single )
public: void DrawLine( PdfPen^ pen, float x1, float y1, float x2, float y2 )
member DrawLine : pen : PdfPen * x1 : float32 * y1 : float32 * x2 : float32 * y2 : float32 -> unit