GoDigram for .NET Framework and .NET Core
Northwoods.Go.Pdf Namespace / GoPdfGenerator Class / DrawRectangle Method / DrawRectangle(Pen,Brush,Single,Single,Single,Single) Method
The pen with which to draw the rectangle
The brush with which to draw the rectangle
The x coordinate of the top left corner of the rectangle
The y coordinate of the top left corner of the rectangle
The width of the rectangle
The height of the rectangle
In This Topic
    DrawRectangle(Pen,Brush,Single,Single,Single,Single) Method
    In This Topic
    Draws a rectangle.
    Syntax
    public void DrawRectangle( 
       Pen pen,
       Brush brush,
       float x,
       float y,
       float w,
       float h
    )

    Parameters

    pen
    The pen with which to draw the rectangle
    brush
    The brush with which to draw the rectangle
    x
    The x coordinate of the top left corner of the rectangle
    y
    The y coordinate of the top left corner of the rectangle
    w
    The width of the rectangle
    h
    The height of the rectangle
    See Also