GoDigram for .NET Framework and .NET Core
Northwoods.Go.Pdf Namespace / GoPdfGenerator Class / DrawLine Method / DrawLine(Pen,Single,Single,Single,Single) Method
The pen with which the line is drawn
The x coordinate of the first endpoint
The y coordinate of the first endpoint
The x coordinate of the second endpoint
The y coordinate of the second endpoint
In This Topic
    DrawLine(Pen,Single,Single,Single,Single) Method
    In This Topic
    Draws a line.
    Syntax
    public void DrawLine( 
       Pen pen,
       float x1,
       float y1,
       float x2,
       float y2
    )

    Parameters

    pen
    The pen with which the line is drawn
    x1
    The x coordinate of the first endpoint
    y1
    The y coordinate of the first endpoint
    x2
    The x coordinate of the second endpoint
    y2
    The y coordinate of the second endpoint
    See Also