Document Solutions for PDF
GrapeCity.Documents.DX.Windows Assembly / GrapeCity.Documents.DX.Direct2D Namespace / CommandSinkNative Class / DrawLine Method

In This Topic
    DrawLine Method (CommandSinkNative)
    In This Topic
    HRESULT ID2D1CommandSink::DrawLine([In] D2D_POINT_2F point0,[In] D2D_POINT_2F point1,[In] ID2D1Brush* brush,[In] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle)
    Syntax
    'Declaration
     
    Public Sub DrawLine( _
       ByVal point0 As Point2F, _
       ByVal point1 As Point2F, _
       ByVal brush As Brush, _
       ByVal strokeWidth As System.Single, _
       ByVal strokeStyle As StrokeStyle _
    ) 
    public void DrawLine( 
       Point2F point0,
       Point2F point1,
       Brush brush,
       System.float strokeWidth,
       StrokeStyle strokeStyle
    )

    Parameters

    point0
    point1
    brush
    strokeWidth
    strokeStyle
    See Also