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

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

    Parameters

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