An NDoc Documented Class Library

pdfPersistentPage.drawLine Method (Int32, Int32, Int32, Int32, pdfColor, Int32)

Method that adds a line to the page object

public void drawLine(
   int X,
   int Y,
   int X1,
   int Y1,
   pdfColor lineColor,
   int lineWidth
);

Parameters

X
X position of the line in the page
Y
Y position of the line in the page
X1
X1 position of the line in the page
Y1
Y1 position of the line in the page
lineColor
Line's color
lineWidth
Line's size

See Also

pdfPersistentPage Class | sharpPDF Namespace | pdfPersistentPage.drawLine Overload List