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
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8