Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartPaint Class / DrawRectangle Method
A System.Drawing.Color structure representing the color of the rectangles border.
A System.Drawing.Rectangle structure representing the rectangle to draw.


In This Topic
    DrawRectangle Method
    In This Topic
    Draws the rectangle with the specified border color.
    Syntax
    'Declaration
     
    Public Sub DrawRectangle( _
       ByVal borderColor As Color, _
       ByVal rectangle As Rectangle _
    ) 
    'Usage
     
    Dim instance As SmartPaint
    Dim borderColor As Color
    Dim rectangle As Rectangle
     
    instance.DrawRectangle(borderColor, rectangle)
    public void DrawRectangle( 
       Color borderColor,
       Rectangle rectangle
    )

    Parameters

    borderColor
    A System.Drawing.Color structure representing the color of the rectangles border.
    rectangle
    A System.Drawing.Rectangle structure representing 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