Search
IGraphics.DrawRectangle Method (Pen, Rectangle)
See Also
 





Draws a rectangle specified by a Rectangle structure.

Namespace: MindFusion.Drawing
Package: MindFusion.Common

 Syntax

C#  Copy Code

void DrawRectangle (
    Pen pen,
    Rectangle rect
)

Visual Basic  Copy Code

Sub DrawRectangle( _
    pen As Pen, _
    rect As Rectangle _
)

 Parameters

pen
A .NET Pen object that determines the color, width, and style of the rectangle.
rect
A .NET Rectangle structure that represents the rectangle to draw.

 See Also