DrawRectangle Method (Graphics)
In This Topic
Draw the special rectangle by using the given pen
Syntax
'Declaration
Public Sub DrawRectangle( _
ByVal As Pen, _
ByVal As Rectangle _
)
public void DrawRectangle(
Pen ,
Rectangle
)
Parameters
- pen
- A Pen indicate the draw-style of rectangle
- rectangle
- A System.Drawing.Rectangle indicate the rectangle to draw
See Also