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






Draws a rectangle specified by a Rectangle structure.

Namespace: MindFusion.Drawing
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

void DrawRectangle (
    Pen pen,
    Rect rect
)

Visual Basic  Copy Code

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

 Parameters

pen

A Pen object that determines the color, width, and style of the rectangle.

rect

A Rectangle structure that represents the rectangle to draw.

 See Also