This documentation is archived and is not being maintained.

Graphics.DrawRectangle Method

Draws a rectangle specified by a coordinate pair, a width, and a height.

Name Description
Graphics.DrawRectangle (Pen, Rectangle) Draws a rectangle specified by a Rectangle structure.

Supported by the .NET Compact Framework.

Graphics.DrawRectangle (Pen, Int32, Int32, Int32, Int32) Draws a rectangle specified by a coordinate pair, a width, and a height.

Supported by the .NET Compact Framework.

Graphics.DrawRectangle (Pen, Single, Single, Single, Single) Draws a rectangle specified by a coordinate pair, a width, and a height.
Show: