Document Solutions for PDF
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / GcGraphics Class / DrawRoundRect Method / DrawRoundRect(RectangleF,Single,Pen) Method
A System.Drawing.RectangleF structure that represents the rectangle to draw.
The radius for the quarter ellipse that is drawn to replace every corner of the rectangle.
The pen used to draw the rounded rectangle.

In This Topic
    DrawRoundRect(RectangleF,Single,Pen) Method
    In This Topic
    Draws a rounded rectangle using a specified pen.
    Syntax
    'Declaration
     
    Public Overloads Sub DrawRoundRect( _
       ByVal bounds As System.Drawing.RectangleF, _
       ByVal radius As System.Single, _
       ByVal pen As Pen _
    ) 
    public void DrawRoundRect( 
       System.Drawing.RectangleF bounds,
       System.float radius,
       Pen pen
    )

    Parameters

    bounds
    A System.Drawing.RectangleF structure that represents the rectangle to draw.
    radius
    The radius for the quarter ellipse that is drawn to replace every corner of the rectangle.
    pen
    The pen used to draw the rounded rectangle.
    See Also