Dundas Chart for Windows Forms
Add(String) Method
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > LegendCollection Class > Add Method : Add(String) Method


name
Name of legend to be added.
Legend name.
Adds the Legend object with the given name to the end of the collection.
Adds one legend into the collection.

Syntax

Visual Basic (Declaration)  
Public Overloads Function Add( _
   ByVal name As String _
) As Integer
Visual Basic (Usage) Copy Code
Dim instance As LegendCollection
Dim name As String
Dim value As Integer
 
value = instance.Add(name)
C#  
public int Add( 
   string name
)

Parameters

name
Name of legend to be added.
Legend name.

Return Value

Index of added item.
Index of newly added item.

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.