PDF for UWP | ComponentOne
C1.Xaml.Pdf Namespace / C1PdfDocument Class / DrawRectangle Method / DrawRectangle(Pen,Rect,Size) Method
Pen object that determines the color, width, and style of the rectangle.
A rectangle structure that represents the rectangle to draw.
A size structure that contains the radius of the rectangle corners.

In This Topic
    DrawRectangle(Pen,Rect,Size) Method
    In This Topic
    Draws a rounded rectangle specified by rectangle and size structures.
    Syntax
    'Declaration
     
    
    Public Overloads Sub DrawRectangle( _
       ByVal pen As Pen, _
       ByVal rc As Rect, _
       ByVal corners As Size _
    ) 
    public void DrawRectangle( 
       Pen pen,
       Rect rc,
       Size corners
    )

    Parameters

    pen
    Pen object that determines the color, width, and style of the rectangle.
    rc
    A rectangle structure that represents the rectangle to draw.
    corners
    A size structure that contains the radius of the rectangle corners.
    Remarks
    All coordinates are expressed in points, measured from the upper-left corner of the page.
    See Also