Document Solutions for PDF
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / GcGraphics Class / DrawRectangle Method

In This Topic
    DrawRectangle Method (GcGraphics)
    In This Topic
    Draws a rectangle using a specified line color, width and style.

    If the value of lineStyle parameter is not DashStyle.Solid, the rectangle is drawn with a Pen having Pen.LineCap set to PenLineCap.Square instead of PenLineCap.Flat.

    Overload List
    OverloadDescription
    Draws a rectangle using a specified line color, width and style.

    If the value of lineStyle parameter is not DashStyle.Solid, the rectangle is drawn with a Pen having Pen.LineCap set to PenLineCap.Square instead of PenLineCap.Flat.

     
    Draws a rectangle using a specified line color, width and dash pattern.

    If the dashPattern array contains two or more items, the rectangle is drawn with a Pen having Pen.LineCap set to PenLineCap.Square instead of PenLineCap.Flat.

     
    Draws a rectangle using a specified pen.  
    See Also