Document Solutions for PDF
DS.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / GcGraphics Class / DrawRoundRect Method / DrawRoundRect(RectangleF,Pen,Pen,Pen,Pen,CornerRadius) Method
The System.Drawing.RectangleF structure that represents the border bounds.
The left border.
The top border.
The right border.
The bottom border.
The border's corner radius.

In This Topic
    DrawRoundRect(RectangleF,Pen,Pen,Pen,Pen,CornerRadius) Method
    In This Topic
    Draws a rounded border defined by four Pen objects and CornerRadius structure.
    Syntax
    'Declaration
     
    Public Overloads Sub DrawRoundRect( _
       ByVal bounds As System.Drawing.RectangleF, _
       ByVal left As Pen, _
       ByVal top As Pen, _
       ByVal right As Pen, _
       ByVal bottom As Pen, _
       ByVal cornerRadius As CornerRadius _
    ) 
    public void DrawRoundRect( 
       System.Drawing.RectangleF bounds,
       Pen left,
       Pen top,
       Pen right,
       Pen bottom,
       CornerRadius cornerRadius
    )

    Parameters

    bounds
    The System.Drawing.RectangleF structure that represents the border bounds.
    left
    The left border.
    top
    The top border.
    right
    The right border.
    bottom
    The bottom border.
    cornerRadius
    The border's corner radius.
    See Also