Dundas Chart for ASP.NET
Add(String,Docking,Font,Color) Method
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > TitleCollection Class > Add Method : Add(String,Docking,Font,Color) Method


text
Text of the title to be displayed.
Title text.
docking
Docking of title.
Title docking.
font
Title font.
Title font.
color
Title color.
Title color.
Adds a Title object to the end of the collection, taking the title's text, docking, font and color as parameters
Adds new chart title into collection.

Syntax

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

Parameters

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

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

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.