Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.DrawingSpace Namespace / LineShape Class / LineShape Constructor / LineShape Constructor(Point,Point)
Start point of line
End point of line


In This Topic
    LineShape Constructor(Point,Point)
    In This Topic
    Creates a new line shape.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal startPoint As Point, _
       ByVal endPoint As Point _
    )
    'Usage
     
    
    Dim startPoint As Point
    Dim endPoint As Point
     
    Dim instance As New LineShape(startPoint, endPoint)
    public LineShape( 
       Point startPoint,
       Point endPoint
    )

    Parameters

    startPoint
    Start point of line
    endPoint
    End point of line
    See Also