True DBGrid for WinForms | ComponentOne
C1.Win.C1TrueDBGrid.4.8 Assembly / C1.Win.C1TrueDBGrid Namespace / C1OwnerDrawPrint Class / RenderDirectLine Method
Start x-coordinate.
Start y-coordinate.
End x-coordinate.
End y-coordinate.
Color of the line.
Width of the line.

In This Topic
    RenderDirectLine Method (C1OwnerDrawPrint)
    In This Topic
    Renders a line for the document.
    Syntax
    'Declaration
     
    Public Sub RenderDirectLine( _
       ByVal fromX As System.Object, _
       ByVal fromY As System.Object, _
       ByVal toX As System.Object, _
       ByVal toY As System.Object, _
       ByVal color As System.Drawing.Color, _
       ByVal width As System.Double _
    ) 
    public void RenderDirectLine( 
       System.object fromX,
       System.object fromY,
       System.object toX,
       System.object toY,
       System.Drawing.Color color,
       System.double width
    )

    Parameters

    fromX
    Start x-coordinate.
    fromY
    Start y-coordinate.
    toX
    End x-coordinate.
    toY
    End y-coordinate.
    color
    Color of the line.
    width
    Width of the line.
    See Also