'Declaration Public Overloads Sub FillAndDrawRectangle( _
ByVal penPdfPen that determines the color, width, and style of the rectangle border.As PdfPen, _
ByVal brushPdfBrush that determines the characteristics of the fill.As PdfBrush, _
ByVal xThe x-coordinate of the bottom-left corner of the rectangle.As Single, _
ByVal yThe y-coordinate of the bottom-left corner of the rectangle.As Single, _
ByVal widthWidth of the rectangle.As Single, _
ByVal heightHeight of the rectangle.As Single _
)
public void FillAndDrawRectangle(
PdfPen pen,
PdfBrush brush,
float x,
float y,
float width,
float height
)
Parameters
- pen
- PdfPen that determines the color, width, and style of the rectangle border.
- brush
- PdfBrush that determines the characteristics of the fill.
- x
- The x-coordinate of the bottom-left corner of the rectangle.
- y
- The y-coordinate of the bottom-left corner of the rectangle.
- width
- Width of the rectangle.
- height
- Height of the rectangle.