Spread Windows Forms 7.0 Product Documentation
LineShape Constructor(Point,Point)
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.DrawingSpace Namespace > LineShape Class > LineShape Constructor : LineShape Constructor(Point,Point)


startPoint
Start point of line
endPoint
End point of line

Glossary Item Box

Creates a new line shape.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal startPoint As Point, _
   ByVal endPoint As Point _
)
Visual Basic (Usage)Copy Code
Dim startPoint As Point
Dim endPoint As Point
 
Dim instance As New LineShape(startPoint, endPoint)
C# 
public LineShape( 
   Point startPoint,
   Point endPoint
)

Parameters

startPoint
Start point of line
endPoint
End point of line

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.