Graphics.DrawRectangles

DrawRectangles(Pen, RectangleF[])

Draws a series of rectangles specified by RectangleF structures.

public void DrawRectangles(Pen pen, RectangleF[] rects)
ParameterTypeDescription
penPenPen that determines the color, width, and style of the outlines of the rectangles.
rectsRectangleF[]Array of RectangleF structures that represent the rectangles to draw.

See Also


DrawRectangles(Pen, Rectangle[])

Draws a series of rectangles specified by Rectangle structures.

public void DrawRectangles(Pen pen, Rectangle[] rects)
ParameterTypeDescription
penPenPen that determines the color, width, and style of the outlines of the rectangles.
rectsRectangle[]Array of Rectangle structures that represent the rectangles to draw.

See Also