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


text
Text of the title to be displayed.
Title text.
docking
Docking of title.
Title docking.

Adds a Title object to the end of the collection, taking the title's text and docking as parameters.


Adds new chart title into collection.

Syntax

Visual Basic (Declaration)  
Public Overloads Function Add( _
   ByVal text As String, _
   ByVal docking As Docking _
) As Title
Visual Basic (Usage) Copy Code
Dim instance As TitleCollection
Dim text As String
Dim docking As Docking
Dim value As Title
 
value = instance.Add(text, docking)
C#  
public Title Add( 
   string text,
   Docking docking
)

Parameters

text
Text of the title to be displayed.
Title text.
docking
Docking of title.
Title docking.

Return Value

Index of the added object.
Newly created 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.