Dundas.SharePoint.Charting.WebParts Send comments on this topic.
AddPolygon Method
See Also 
Dundas.Charting.WebControl Namespace > AnnotationCollection Class : AddPolygon Method


name
Name of the annotation. Use an empty string to automatically assign a unique name.
path
GraphicsPath object for the polygon annotation. This defines its path.
Adds a new polygon annotation to the end of the collection.

Syntax

Visual Basic (Declaration)  
Public Function AddPolygon( _
   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.AddPolygon(name, path)
C#  
public int AddPolygon( 
   string name,
   GraphicsPath path
)

Parameters

name
Name of the annotation. Use an empty string to automatically assign a unique name.
path
GraphicsPath object for the polygon 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