Adds a new arrow annotation to the end of the collection.
Visual Basic (Declaration) | |
---|---|
Public Function AddArrow( _ ByVal name As String, _ ByVal style As ArrowStyle, _ ByVal size As Integer, _ ByVal x1 As Double, _ ByVal y1 As Double, _ ByVal x2 As Double, _ ByVal y2 As Double _ ) As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int AddArrow( string name, ArrowStyle style, int size, double x1, double y1, double x2, double y2 ) |
Parameters
- name
- Name of the annotation. Use an empty string to automatically assign a unique name.
Name of the annotation. Use an empty string to automatically assign a unique name. - style
- Style of the arrow.
ArrowStyle of the arrow. - size
- Arrow size, in pixels.
Arrow size, in pixels. - x1
- X coordinate of the first line point.
X coordinate of the first line point. - y1
- Y coordinate of the first line point.
Y coordinate of the first line point. - x2
- X coordinate of the second line point.
X coordinate of the second line point. - y2
- Y coordinate of the second line point.
Y coordinate of the second line point.
Return Value
Index of the added object.
Index of the added object.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family