Draw rectangle from this document.
Syntax
'Declaration
Public Overloads Sub DrawRectangle( _
ByVal As Pen, _
ByVal As System.Double, _
ByVal As System.Double, _
ByVal As System.Double, _
ByVal As System.Double _
)
public void DrawRectangle(
Pen ,
System.double ,
System.double ,
System.double ,
System.double
)
Parameters
- pen
- The drawing pen.
- x
- The x (top-left corner) coordinate.
- y
- The y (top-left corner) coordinate.
- width
- The width of the rectangle.
- height
- The height of the rectangle.
See Also