Draws a rectangle using a specified pen.
シンタックス
'宣言
Public Overloads Sub DrawRectangle( _
ByVal As System.Drawing.RectangleF, _
ByVal As Pen _
)
public void DrawRectangle(
System.Drawing.RectangleF ,
Pen
)
パラメータ
- bounds
- A System.Drawing.RectangleF structure that represents the rectangle to draw.
- pen
- The pen used to draw the rectangle.
参照