DrawRectangle(Pen,Single,Single,Single,Single) Method
In This Topic
Draw rectangle from this document.
Syntax
'Declaration
Public Overloads Sub DrawRectangle( _
ByVal As System.Drawing.Pen, _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As System.Single _
)
public void DrawRectangle(
System.Drawing.Pen ,
System.float ,
System.float ,
System.float ,
System.float
)
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