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

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

    Parameters

    pen
    The drawing pen.
    rc
    The drawing rectangle.
    See Also