PrintDocument for WinForms | ComponentOne
C1.PrintDocument.8 Assembly / C1.C1Preview Namespace / GraphicsUtils.GdiDc Class / Line Method

In This Topic
    Line Method (GraphicsUtils.GdiDc)
    In This Topic
    Draws a line.
    Syntax
    'Declaration
     
    Public Sub Line( _
       ByVal x1 As Integer, _
       ByVal y1 As Integer, _
       ByVal x2 As Integer, _
       ByVal y2 As Integer, _
       ByVal color As Color _
    ) 
    public void Line( 
       int x1,
       int y1,
       int x2,
       int y2,
       Color color
    )

    Parameters

    x1
    y1
    x2
    y2
    color
    See Also