DrawRectangle(Pen,Double,Double,Double,Double) Method
Draw rectangle from this document.
'Declaration
Public Overloads Sub DrawRectangle( _
ByVal As Pen, _
ByVal As Double, _
ByVal As Double, _
ByVal As Double, _
ByVal As 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.