ComponentOne List for WinForms
C1.Win.List 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 Object, _
       ByVal fromY As Object, _
       ByVal toX As Object, _
       ByVal toY As Object, _
       ByVal color As Color, _
       ByVal width As Double _
    ) 
    public void RenderDirectLine( 
       object fromX,
       object fromY,
       object toX,
       object toY,
       Color color,
       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