ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / Graphics Class / DrawRectangle Method
A Pen indicate the draw-style of rectangle
A System.Drawing.Rectangle indicate the rectangle to draw

In This Topic
    DrawRectangle Method (Graphics)
    In This Topic
    Draw the special rectangle by using the given pen
    Syntax
    'Declaration
     
    
    Public Sub DrawRectangle( _
       ByVal pen As Pen, _
       ByVal rectangle As Rectangle _
    ) 
    public void DrawRectangle( 
       Pen pen,
       Rectangle rectangle
    )

    Parameters

    pen
    A Pen indicate the draw-style of rectangle
    rectangle
    A System.Drawing.Rectangle indicate the rectangle to draw
    See Also