Document Solutions for Imaging
DS.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / GcGraphics Class / DrawLine Method

In This Topic
    DrawLine Method
    In This Topic
    Draws a line between two points, using a specified line color, width and style.

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

    Overload List
    OverloadDescription
    Draws a line between two points, using a specified line color, width and style.

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

     
    Draws a line between two points, using the specified line color, width and dash pattern.

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

     
    Draws a line between two points, using a specified line color, width and style.

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

     
    Draws a line between two points, using the specified line color, width and dash pattern.

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

     
    Draws a line between two points, using the specified pen.  
    Draws a line between two points, using the specified pen.  
    See Also