ComponentOne FinancialChart for WPF
C1.Chart Namespace / IRenderEngine Interface / DrawLine Method
x-coordinate of first point.
y-coordinate of first point.
x-coordinate of second point.
y-coordinate of second point.



In This Topic
    DrawLine Method
    In This Topic
    Draw line between two points using current stroke attributes.
    Syntax
    'Declaration
     
    
    Sub DrawLine( _
       ByVal x1 As Double, _
       ByVal y1 As Double, _
       ByVal x2 As Double, _
       ByVal y2 As Double _
    ) 
    'Usage
     
    
    Dim instance As IRenderEngine
    Dim x1 As Double
    Dim y1 As Double
    Dim x2 As Double
    Dim y2 As Double
     
    instance.DrawLine(x1, y1, x2, y2)
    void DrawLine( 
       double x1,
       double y1,
       double x2,
       double y2
    )
    void DrawLine( 
       double x1,
       double y1,
       double x2,
       double y2
    ) 

    Parameters

    x1
    x-coordinate of first point.
    y1
    y-coordinate of first point.
    x2
    x-coordinate of second point.
    y2
    y-coordinate of second point.
    See Also