Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal startPoint As Point, _ ByVal endPoint As Point, _ ByVal arrowTipWidth As Single _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim startPoint As Point Dim endPoint As Point Dim arrowTipWidth As Single Dim instance As New ArrowShape(startPoint, endPoint, arrowTipWidth) |
C# | |
---|---|
public ArrowShape( Point startPoint, Point endPoint, float arrowTipWidth ) |
Parameters
- startPoint
- Start point of arrow shape.
- endPoint
- End point of arrow shape.
- arrowTipWidth
- The tip width of the arrow shape.
Exception | Description |
---|---|
System.ArgumentException | Thrown when the arrowTipWidth value is less than or equal to zero |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8