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