PdfGraphics.DrawLine(Pen, Single, Single, Single, Single) Method
Draws a line connecting two points on the page specified by the coordinate pairs.
Namespace: DevExpress.Pdf
Assembly: DevExpress.Pdf.v19.1.Drawing.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
pen | Pen | A Pen object that determines the color, width, and style of the line. |
x1 | Single | A Single object that represents the x-coordinate of the first point. |
y1 | Single | A Single object that represents the y-coordinate of the first point. |
x2 | Single | A Single object that represents the x-coordinate of the second point. |
y2 | Single | A Single object that represents the y-coordinate of the second point. |
Remarks
Use the DrawLine method to draw a line connecting the two points specified by the x1, y1 and x2, y2 coordinates.
See Also