Document Solutions for PDF
DS.Documents.DX.Windows Assembly / GrapeCity.Documents.DX.Direct2D Namespace / ICommandSink Interface / DrawLine Method

In This Topic
    DrawLine Method (ICommandSink)
    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
     
    Sub DrawLine( _
       ByVal point0 As Point2F, _
       ByVal point1 As Point2F, _
       ByVal brush As Brush, _
       ByVal strokeWidth As System.Single, _
       ByVal strokeStyle As StrokeStyle _
    ) 
    void DrawLine( 
       Point2F point0,
       Point2F point1,
       Brush brush,
       System.float strokeWidth,
       StrokeStyle strokeStyle
    )

    Parameters

    point0
    point1
    brush
    strokeWidth
    strokeStyle
    See Also