Document Solutions for PDF
GrapeCity.Documents.DX.Windows Assembly / GrapeCity.Documents.DX.Direct2D Namespace / RenderTarget Class / DrawLine Method / DrawLine(Point2F,Point2F,Brush) Method
The start point of the line, in device-independent pixels.
The end point of the line, in device-independent pixels.
The brush used to paint the line's stroke.

In This Topic
    DrawLine(Point2F,Point2F,Brush) Method
    In This Topic
    Draws a line between the specified points.
    Syntax
    'Declaration
     
    Public Overloads Sub DrawLine( _
       ByVal point0 As Point2F, _
       ByVal point1 As Point2F, _
       ByVal brush As Brush _
    ) 
    public void DrawLine( 
       Point2F point0,
       Point2F point1,
       Brush brush
    )

    Parameters

    point0
    The start point of the line, in device-independent pixels.
    point1
    The end point of the line, in device-independent pixels.
    brush
    The brush used to paint the line's stroke.
    See Also