ComponentOne Word for WinForms
C1.C1Word.4.8 Assembly / C1.C1Word Namespace / C1WordDocument Class / DrawRectangle Method / DrawRectangle(Pen,RectangleF,SizeF) Method
The drawing pen.
The drawing rectangle.
The cones size.

In This Topic
    DrawRectangle(Pen,RectangleF,SizeF) Method
    In This Topic
    Draw round rectangle from this document.
    Syntax
    'Declaration
     
    Public Overloads Sub DrawRectangle( _
       ByVal pen As System.Drawing.Pen, _
       ByVal rc As System.Drawing.RectangleF, _
       ByVal corners As System.Drawing.SizeF _
    ) 
    public void DrawRectangle( 
       System.Drawing.Pen pen,
       System.Drawing.RectangleF rc,
       System.Drawing.SizeF corners
    )

    Parameters

    pen
    The drawing pen.
    rc
    The drawing rectangle.
    corners
    The cones size.
    See Also