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


cell
The LegendCell object to add.
LegendCell object to add.
Adds a legend cell to the end of the collection.
Adds a cell to the end of the collection.

Syntax

Visual Basic (Declaration)  
Public Overloads Function Add( _
   ByVal cell As LegendCell _
) As Integer
Visual Basic (Usage) Copy Code
Dim instance As LegendCellCollection
Dim cell As LegendCell
Dim value As Integer
 
value = instance.Add(cell)
C#  
public int Add( 
   LegendCell cell
)

Parameters

cell
The LegendCell object to add.
LegendCell object to add.

Return Value

Returns an integer that represents the index of the newly added legend cell in the collection (zero-based).
Index of the newly added object.

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.