DrawRectangle(RectangleF,Pen) Method
In This Topic
Draws a rectangle using a specified pen.
Syntax
'Declaration
Public Overloads Sub DrawRectangle( _
ByVal As System.Drawing.RectangleF, _
ByVal As Pen _
)
public void DrawRectangle(
System.Drawing.RectangleF ,
Pen
)
Parameters
- bounds
- A System.Drawing.RectangleF structure that represents the rectangle to draw.
- pen
- The pen used to draw the rectangle.
See Also