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
    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
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also