Dundas Chart for Windows Forms
AddPolyline Method
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > AnnotationCollection Class : AddPolyline Method


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.
path
GraphicsPath object for the polyline annotation. This defines its path.
GraphicsPath object for the polyline annotation. This defines its path.
Enterprise Only Feature. Adds a new polyline annotation to the end of the collection.
Adds a new polyline annotation to the end of the collection.

Syntax

Visual Basic (Declaration)  
Public Function AddPolyline( _
   ByVal name As String, _
   ByVal path As GraphicsPath _
) As Integer
Visual Basic (Usage) Copy Code
Dim instance As AnnotationCollection
Dim name As String
Dim path As GraphicsPath
Dim value As Integer
 
value = instance.AddPolyline(name, path)
C#  
public int AddPolyline( 
   string name,
   GraphicsPath path
)

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.
path
GraphicsPath object for the polyline annotation. This defines its path.
GraphicsPath object for the polyline annotation. This defines its path.

Requirements

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

See Also

© 2009 All Rights Reserved.