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


index

The index value where the item should be inserted (0-based).


Index to insert the object in.
text
Text to be displayed for new Title object.
Title text.
docking
Title docking.
Title docking.
font
Title font.
Title font.
color
Title color.
Title color.
Inserts a new Title object with the given text, docking, font and color into the collection at the specified location.
Inserts new chart title into collection.

Syntax

Visual Basic (Declaration)  
Public Overloads Sub Insert( _
   ByVal index As Integer, _
   ByVal text As String, _
   ByVal docking As Docking, _
   ByVal font As Font, _
   ByVal color As Color _
) 
Visual Basic (Usage) Copy Code
Dim instance As TitleCollection
Dim index As Integer
Dim text As String
Dim docking As Docking
Dim font As Font
Dim color As Color
 
instance.Insert(index, text, docking, font, color)
C#  
public void Insert( 
   int index,
   string text,
   Docking docking,
   Font font,
   Color color
)

Parameters

index

The index value where the item should be inserted (0-based).


Index to insert the object in.
text
Text to be displayed for new Title object.
Title text.
docking
Title docking.
Title docking.
font
Title font.
Title font.
color
Title color.
Title color.

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.