Draws a rectangle specified by a rectangle structure.
Syntax
'Declaration
Public Overloads Sub DrawRectangle( _
ByVal As System.Drawing.Pen, _
ByVal As System.Drawing.RectangleF _
)
public void DrawRectangle(
System.Drawing.Pen ,
System.Drawing.RectangleF
)
Parameters
- pen
- System.Drawing.Pen object that determines the color, width, and style of the rectangle.
- rc
- A rectangle structure that represents the rectangle to draw.
See Also