Document Solutions for PDF
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / GcGraphics Class / DrawRectangle Method / DrawRectangle(RectangleF,Pen) Method
A System.Drawing.RectangleF structure that represents the rectangle to draw.
The pen used to draw the rectangle.

In This Topic
    DrawRectangle(RectangleF,Pen) Method
    In This Topic
    Draws a rectangle using a specified pen.
    Syntax
    'Declaration
     
    Public Overloads Sub DrawRectangle( _
       ByVal bounds As System.Drawing.RectangleF, _
       ByVal pen As Pen _
    ) 
    public void DrawRectangle( 
       System.Drawing.RectangleF bounds,
       Pen pen
    )

    Parameters

    bounds
    A System.Drawing.RectangleF structure that represents the rectangle to draw.
    pen
    The pen used to draw the rectangle.
    See Also