An NDoc Documented Class Library

pdfPersistentPage.drawRectangle Method (Int32, Int32, Int32, Int32, predefinedColor, predefinedColor, Int32, predefinedLineStyle)

Method that adds a rectangle to the page object [DEPRECATED]

public void drawRectangle(
   int X,
   int Y,
   int X1,
   int Y1,
   predefinedColor strokeColor,
   predefinedColor fillColor,
   int borderWidth,
   predefinedLineStyle borderStyle
);

Parameters

X
X position of the rectangle in the page
Y
Y position of the rectangle in the page
X1
X1 position of the rectangle in the page
Y1
Y1 position of the rectangle in the page
strokeColor
Border's color
fillColor
Rectancle's color
borderWidth
Border's size
borderStyle
Border's style

See Also

pdfPersistentPage Class | sharpPDF Namespace | pdfPersistentPage.drawRectangle Overload List