Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Drawing Namespace / GdiPlusDrawingContext Class / DrawLine Method


In This Topic
    DrawLine Method (GdiPlusDrawingContext)
    In This Topic
    Syntax
    'Declaration
     
    
    Public Sub DrawLine( _
       ByVal pen As Pen, _
       ByVal point1 As Point, _
       ByVal point2 As Point _
    ) 
    'Usage
     
    
    Dim instance As GdiPlusDrawingContext
    Dim pen As Pen
    Dim point1 As Point
    Dim point2 As Point
     
    instance.DrawLine(pen, point1, point2)
    public void DrawLine( 
       Pen pen,
       Point point1,
       Point point2
    )

    Parameters

    pen
    point1
    point2
    See Also